Allocation schema for a scalable memory area

ABSTRACT

A variety of applications can include systems and methods that control a memory size of a changelog in a storage device, where the changelog is implemented to correlate virtual page addresses to physical addresses in one or more memory devices. The memory size can be controlled by an allocation schema for a scalable memory area for the changelog in the storage device. The allocation schema can include using bitmaps, lists linked to the bitmaps, and a counter to count bits asserted in the bitmaps such that the allocation of memory space in the storage device can depend on usage rather than allocating a large memory space for all possible correlations of virtual page addresses to physical addresses.

BACKGROUND

Memory devices are typically provided as internal, semiconductor,integrated circuits in computers or other electronic devices. There aremany different types of memory, including volatile and non-volatilememory. Volatile memory requires power to maintain its data, andexamples of volatile memory include random-access memory (RAM), dynamicrandom-access memory (DRAM), and synchronous dynamic random-accessmemory (SDRAM), among others. Non-volatile memory can retain stored datawhen not powered, and examples of non-volatile memory include flashmemory, read-only memory (ROM), electrically erasable programmable ROM(EEPROM), erasable programmable ROM (EPROM), resistance variable memory,such as phase-change random-access memory (PCRAM), resistiverandom-access memory (RRAM), magnetoresistive random-access memory(MRAM), and three-dimensional (3D) XPoint™ memory, among others.

Flash memory is utilized as non-volatile memory for a wide range ofelectronic applications. Flash memory devices typically include one ormore groups of one-transistor, floating gate or charge trap memory cellsthat allow for high memory densities, high reliability, and low powerconsumption. Two common types of flash memory array architecturesinclude NAND and NOR architectures, named after the logic form in whichthe basic memory cell configuration of each is arranged. The memorycells of the memory array are typically arranged in a matrix. In anexample, the gates of each floating gate memory cell in a row of thearray are coupled to an access line (e.g., a word line). Ina NORarchitecture, the drains of each memory cell in a column of the arrayare coupled to a data line (e.g., a bit line). In a NAND architecture,the memory cells in a string of the array are coupled together inseries, source to drain, between a source line and a bit line.

Both NOR and NAND architecture semiconductor memory arrays are accessedthrough decoders that activate specific memory cells by selecting theword line coupled to their gates. In a NOR architecture semiconductormemory array, once activated, the selected memory cells place their datavalues on bit lines, causing different currents to flow depending on thestate at which a particular cell is programmed. In a NAND architecturesemiconductor memory array, a high bias voltage is applied to adrain-side select gate (SGD) line. Word lines coupled to the gates ofthe unselected memory cells of each group are driven at a specified passvoltage (e.g., Vpass) to operate the unselected memory cells of eachgroup as pass transistors (e.g., to pass current in a manner that isunrestricted by their stored data values). Current then flows from thesource line to the bit line through each series coupled group,restricted only by the selected memory cells of each group, placingcurrent encoded data values of selected memory cells on the bit lines.

Each flash memory cell in a NOR or NAND architecture semiconductormemory array can be programmed individually or collectively to one or anumber of programmed states. For example, a single-level cell (SLC) canrepresent one of two programmed states (e.g., 1 or 0), representing onebit of data. However, flash memory cells can also represent one of morethan two programmed states, allowing the manufacture of higher densitymemories without increasing the number of memory cells, as each cell canrepresent more than one binary digit (e.g., more than one bit). Suchcells can be referred to as multi-state memory cells, multi-digit cells,or multi-level cells (MLCs). In certain examples, MLC can refer to amemory cell that can store two bits of data per cell (e.g., one of fourprogrammed states), a triple-level cell (TLC) can refer to a memory cellthat can store three bits of data per cell (e.g., one of eightprogrammed states), and a quad-level cell (QLC) can store four bits ofdata per cell. Unless otherwise clearly indicated by express language orcontext, MLC is used herein in its broader context, to can refer to anymemory cell that can store more than one bit of data per cell (i.e.,that can represent more than two programmed states).

Traditional memory arrays are two-dimensional (2D) structures arrangedon a surface of a semiconductor substrate. To increase memory capacityfor a given area, and to decrease cost, the size of the individualmemory cells has decreased. However, there is a technological limit tothe reduction in size of the individual memory cells, and thus, to thememory density of 2D memory arrays. In response, three-dimensional (3D)memory structures, such as 3D NAND architecture semiconductor memorydevices, are being developed to further increase memory density andlower memory cost.

Such 3D NAND devices often include strings of storage cells, coupled inseries (e.g., drain to source), between one or more source-side selectgates (SGSs) proximate a source, and one or more drain-side select gates(SGDs) proximate a bit line. In an example, the SGSs or the SGDs caninclude one or more field-effect transistors (FETs) or metal-oxidesemiconductor (MOS) structure devices, etc. In some examples, thestrings will extend vertically, through multiple vertically spaced tierscontaining respective word lines. A semiconductor structure (e.g., apolysilicon structure) may extend adjacent a siring of storage cells toform a channel for the storage cells of the string. In the example of avertical string, the polysilicon structure may be in the form of avertically extending pillar. In some examples, the string may be“folded,” and thus arranged relative to a U-shaped pillar. In otherexamples, multiple vertical structures may be stacked upon one anotherto form stacked arrays of storage cell strings.

Memory arrays or devices can be combined together to form a storagevolume of a memory system, such as a solid-state drive (SSD), aUniversal Flash Storage (UFS™) device, a MultiMediaCard (MMC)solid-state storage device, an embedded MMC device (eMMC™), etc. An SSDcan be used as, among other things, the main storage device of acomputer, having advantages over traditional hard drives with movingparts with respect to, for example, performance, size, weight,ruggedness, operating temperature range, and power consumption. Forexample, SSDs can have reduced seek time, latency, or other delayassociated with magnetic disk drives (e.g., electromechanical, etc.).SSDs use non-volatile memory cells, such as flash memory cells, toobviate internal battery supply requirements, thus allowing the drive tobe more versatile and compact.

An SSD can include a number of memory devices, including a number ofdies or logical units (e.g., logical unit numbers or LUNs), and caninclude one or more processors or other controllers performing logicfunctions required to operate the memory devices or interface withexternal systems. Such SSDs may include one or more flash memory die,including a number of memory arrays and peripheral circuitry thereon.The flash memory arrays can include a number of blocks of memory cellsorganized into a number of physical pages. In many examples, the SSDswill also include DRAM or SRAM (or other forms of memory die or othermemory structures). The SSD can receive commands from a host inassociation with memory operations, such as read or write operations, totransfer data (e.g., user data and associated integrity data, such aserror data and address data, etc.) between the memory devices and thehost, or erase operations to erase data from the memory devices.

In systems having managed memory devices operable with a number of hostdevices, accessing memory locations for reading from and writing to amemory device by a host device is accomplished with addresses providedby the host. These addresses can be provide by the host as logical blockaddress (LBAs), where the host does not track the physical address ofthe memory location to be accessed. The managed memory devices includeinstrumentalities to translate a LBA from the host to a physical addressin which data is stored in the memory device. The memory device can be aNAND memory device. This pair of information, LBA and correspondingphysical address, can be stored as element inside a changelog. To alwaysensure a correct logical to physical (L2P) translation, a devicetranslation unit (DTU) can be searched in the changelog for the latestupdated information about the requested LBA. A conventional structurefor a changelog is arranged to contain the history of each traced LBA,which can result in delays when accessing the changelog. However, anapproach to rapid access to the requested information can be based on anordered changelog, which implies additional effort on each update. Inaddition, ordering and access time depends on the DTU algorithmimplemented, but regardless of the DTU algorithm used, the access isproportional to changelog size.

BRIEF DESCRIPTION OF THE DRAWINGS

The drawings, which are not necessarily drawn to scale, illustrategenerally, by way of example, but not by way of limitation, variousembodiments discussed in the present document.

FIG. 1 illustrates an example of an environment including a memorydevice, in accordance with various embodiments.

FIGS. 2 and 3 illustrate schematic diagrams of an example of athree-dimensional NAND architecture semiconductor memory array, inaccordance with various embodiments.

FIG. 4 illustrates an example block diagram of a memory module, inaccordance with various embodiments.

FIG. 5 is a block diagram illustrating an example of a machine uponwhich one or more embodiments may be implemented, in accordance withvarious embodiments.

FIG. 6 is an illustration of an allocation of a changelog area startingfrom a fixed geometry evolving to a variable geometry based on a realmemory occupancy, in accordance with various embodiments.

FIG. 7 is a flow diagram of an example procedure of accessing achangelog for writing at a virtual page address, in accordance withvarious embodiments.

FIG. 8 is an illustration of an example operation that effectively addsa virtual page address to a changelog data structure, in accordance withvarious embodiments.

FIG. 9 is an illustration of example bitmaps and linked lists associatedwith a virtual table that can represent a table having elementscorrelating virtual page address elements to page pointer tables, inaccordance with various embodiments.

FIGS. 10A-10D illustrate an example of implementing a changelog indexingscheme that can reduce memory area used for a changelog, in accordancewith various embodiments.

FIG. 11 is a block diagram of an embodiment of example system includinga host that operates with a memory system having multiple memory devicesand a storage device in which a changelog, implemented to correlatevirtual page addresses to physical addresses in one or more of thememory devices, is constructed in the storage device with an allocationschema for a scalable memory area in the storage device, in accordancewith various embodiments.

FIG. 12 is a flow diagram of features of an example method of operatinga changelog with the changelog implemented to correlate virtual pageaddresses to physical addresses in a memory device, in accordance withvarious embodiments.

FIG. 13 is a flow diagram of features of an example method of updating achangelog in a storage device with the changelog implemented tocorrelate virtual page addresses to physical addresses in a memorydevice, in accordance with various embodiments.

FIG. 14 is a block diagram of an example system having a log correlatingvirtual page addresses for one or more memory devices to physicaladdresses of the one or more memory devices, in accordance with variousembodiments.

DETAILED DESCRIPTION

The following detailed description refers to the accompanying drawingsthat show, by way of illustration and not limitation, variousembodiments in which an invention can be practiced. These embodimentsare described in sufficient detail to enable those skilled in the art topractice these and other embodiments. Other embodiments may be utilized,and structural, logical, mechanical, and electrical changes may be madeto these embodiments. The various embodiments are not necessarilymutually exclusive, as some embodiments can be combined with one or moreother embodiments to form new embodiments. The following detaileddescription is, therefore, not to be taken in a limiting sense.

In various embodiments, an allocation schema for a scalable memory areais provided for storing a L2P changelog. In a firmware (FW) architecturebased on changelog, the changelog can contain the most recent L2Pvalues. For a NAND memory system, the changelog can be updated on writeoperations, while the L2P table is updated and flushed to NAND only whenone among different events occurs, for example, when the changelogbecomes full. The changelog becoming full can trigger update of L2Ptables. During a read operation, the changelog is searched for the L2Pvalue and, in case of the L2P value that is the subject of the searchfound missing in the changelog, then the L2P table can be loaded and thesearch can be performed into the L2P table.

This allocation schema can potentially cover the LBAs of a whole manageddevice in a reduced memory area. The memory area for storing thechangelog can be a RAM memory area, where, in conventional arrangements,the memory area stores all history of the written LBA. A changelog, astaught herein, can be implemented to correlate virtual page addresses tophysical addresses of a memory device in which ordering in the changelogcan be addressed without application of an algorithm such as a DTUalgorithm. The virtual page addresses can be realized as LBAs. Herein, avirtual page address is given the nomenclature, VP. In such a changelog,the story of an LBA is not traced, since the latest useful update isstored, which allows for avoidance of duplicates. Further, the changelogcan be structured to correlate a virtual page address to a physicaladdress without storing a pair of information, such as the logical andthe physical address as a pair in a given memory device, such as a NANDdevice.

The changelog can be viewed as an indexable data structure, where alogical address is an entry point to know the physical address for adata storage location in a memory device associated with the changelog.This elimination of storing pairs of information reduces the memory usedto store each single VP element. In the approach to a changelog, astaught herein, rather than a search of a VP element in the changelog,its presence and its position can be verified almost instantly, in whichthe number of steps to reach the desired changelog element sdeterministic and predicable.

In various embodiments, a difference between a FW architecture based ona changelog and an architecture without changelog includes the featurethat during write operation it is not needed to load the L2P Table inRAM but only the changelog is updated. Instead of loading the L2P Tableto be updated, the new L2P value is temporarily saved into the changelogthat resides in RAM. This provides that, in a random write scenario,continuously swapping in/out L2P Tables from the RAM can be avoided. Allthe L2P values updated can be collected into the changelog and, when thechangelog becomes full, all the L2P tables to be updated can be loadedand merged with changelog updates.

Electronic devices, such as mobile electronic devices (e.g., smartphones, tablets, etc.), electronic devices for use in automotiveapplications (e.g., automotive sensors, control units, driver-assistancesystems, passenger safety or comfort systems, etc.), andinternet-connected appliances or devices (e.g., internet-of-things (IoT)devices, etc.), have varying storage needs depending on, among otherthings, the type of electronic device, use environment, performanceexpectations, etc.

Electronic devices can be broken down into several main components: aprocessor (e.g., a central processing unit (CPU) or other mainprocessor); memory (e.g., one or more volatile or non-volatilerandom-access memory (RAM) memory device, such as dynamic RAM (DRAM),mobile or low-power double-data-rate synchronous DRAM (DDR SDRAM),etc.); and a storage device (e.g., non-volatile memory (NVM) device,such as flash memory, read-only memory (ROM), an SSD, an MMC, or othermemory card structure or assembly, etc.). In certain examples,electronic devices can include a user interface (e.g., a display,touch-screen, keyboard, one or more buttons, etc.), a graphicsprocessing unit (GPU), a power management circuit, a baseband processoror one or more transceiver circuits, etc.

FIG. 1 illustrates an example of an environment 100 including a hostdevice 105 and a memory device 110 configured to communicate over acommunication interface. The host device 105 or the memory device 110may be included in a variety of products 150, such as Internet of Things(IoT) devices (e.g., a refrigerator or other appliance, sensor, motor oractuator, mobile communication device, automobile, drone, etc.) tosupport processing, communications, or control of the product 150.

The memory device 110 includes a memory processing device 115 and amemory array 120 including, for example, a number of individual memorydie (e.g., a stack of three-dimensional (3D) NAND die). In 3Darchitecture semiconductor memory technology, vertical structures arestacked, increasing the number of tiers, physical pages, andaccordingly, the density of a memory device (e.g., a storage device). Inan example, the memory device 110 can be a discrete memory or storagedevice component of the host device 105. In other examples, the memorydevice 110 can be a portion of an integrated circuit (e.g., system on achip (SOC), etc.), stacked or otherwise included with one or more othercomponents of the host device 105.

One or more communication interfaces can be used to transfer databetween the memory device 10 and one or more other components of thehost device 105, such as a Serial Advanced Technology Attachment (SATA)interface, a Peripheral Component Interconnect Express (PCIe) interface,a Universal Serial Bus (USB) interface, a Universal Flash Storage (UFS)interface, an eMMC™ interface, or one or more other connectors orinterfaces. The host device 105 can include a host system, an electronicdevice, a processor, a memory card reader, or one or more otherelectronic devices external to the memory device 110. In some examples,the host device 105 may be a machine having some portion, or all, of thecomponents discussed in reference to the machine 500 of FIG. 5.

The memory processing device 115 can receive instructions from the hostdevice 105, and can communicate with the memory array 120, such as totransfer data to (e.g., write or erase) or from (e.g., read) one or moreof the memory cells, planes, sub-blocks, blocks, or pages of the memoryarray 120. The memory processing device 115 can include, among otherthings, circuitry or firmware, including one or more components orintegrated circuits. For example, the memory processing device 115 caninclude one or more memory control units, circuits, or componentsconfigured to control access across the memory array 120 and to providea translation layer between the host device 105 and the memory device110. The memory processing device 115 can include one or moreinput/output (I/O) circuits, lines, or interfaces to transfer data to orfrom the memory array 120. The memory processing device 115 can includea memory manager 125 and an array controller 135.

The memory manager 125 can include, among other things, circuitry orfirmware, such as a number of components or integrated circuitsassociated with various memory management functions. For purposes of thepresent description, example memory operation and management functionswill be described in the context of NAND memory. Persons skilled in theart will recognize that other forms of non-volatile memory may haveanalogous memory operations or management functions. Such NANDmanagement functions include wear leveling (e.g., garbage collection orreclamation), error detection or correction, block retirement, or one ormore other memory management functions. The memory manager 125 can parseor format host commands (e.g., commands received from a host) intodevice commands (e.g., commands associated with operation of a memoryarray, etc.), or generate device commands (e.g., to accomplish variousmemory management functions) for the array controller 135 or one or moreother components of the memory device 110.

The memory manager 125 can include a set of management tables 130configured to maintain various information associated with one or morecomponent of the memory device 110 (e.g., various information associatedwith a memory array or one or more memory cells coupled to the memoryprocessing device 115). For example, the management tables 130 caninclude information regarding block age, block erase count, errorhistory, or one or more error counts (e.g., a write operation errorcount, a read bit error count, a read operation error count, an eraseerror count, etc.) for one or more blocks of memory cells coupled to thememory processing device 115. In certain examples, if the number ofdetected errors for one or more of the error counts is above athreshold, the bit error can be referred to as an uncorrectable biterror. The management tables 130 can maintain a count of correctable oruncorrectable bit errors, among other things.

The array controller 135 can include, among other things, circuitry orcomponents configured to control memory operations associated withwriting data to, reading data from, or erasing one or more memory cellsof the memory device 110 coupled to the memory processing device 115.The memory operations can be based on, for example, host commandsreceived from the host device 105, or internally generated by the memorymanager 125 (e.g., in association with wear leveling, error detection orcorrection, etc.).

The array controller 135 can include an error correction code (ECC)component 140, which can include, among other things, au ECC engine orother circuitry configured to detect or correct errors associated withwriting data to or reading data from one or more memory cells of thememory device 110 coupled to the memory processing device 115. Thememory processing device 115 can be configured to actively detect andrecover from error occurrences (e.g., bit errors, operation errors,etc.) associated with various operations or storage of data, whilemaintaining integrity of the data transferred between the host device105 and the memory device 110, or maintaining integrity of stored data(e.g., using redundant RAID storage, etc.), and can remove (e.g.,retire) failing memory resources (e.g., memory cells, memory arrays,pages, blocks, etc.) to prevent future errors.

The memory array 120 can include several memory cells arranged in, forexample, a number of devices, planes, sub-blocks, blocks, or pages. Asone example, a 48 GB TLC NAND memory device can include 18,592 bytes (B)of data per page (16,384+2208 bytes), 1536 pages per block, 548 blocksper plane, and 4 or more planes per device. As another example, a 32 GBMLC memory device (storing two bits of data per cell (i.e., 4programmable states)) can include 18,592 bytes (B) of data per page(16,384+2208 bytes), 1024 pages per block, 548 blocks per plane, and 4planes per device, but with half the write time and twice theprogram/erase (P/E) cycles as a corresponding TLC memory device. Otherexamples can include other numbers or arrangements. In some examples, amemory device, or a portion thereof, may be selectively operated in SLCmode, or in a desired MLC mode (such as TLC, QLC, etc.).

In operation, data is typically written to or read from the NAND memorydevice 110 in pages and erased in blocks. However, one or more memoryoperations (e.g., read, write, erase, etc.) can be performed on largeror smaller groups of memory cells, as desired. The data transfer size ofa NAND memory device 110 is typically referred to as a page; whereas thedata transfer size of a host is typically referred to as a sector.

Although a page of data can include a number of bytes of user data(e.g., a data payload including a number of sectors of data) and itscorresponding metadata, the size of the page often refers only to thenumber of bytes used to store the user data. As an example, a page ofdata having a page size of 4 KB may include 4 KB of user data (e.g., 8sectors assuming a sector size of 512 B) as well as a number of bytes(e.g., 32 B, 54 B, 224 B, etc.) of metadata corresponding to the userdata, such as integrity data (e.g., error detecting or correcting codedata), address data (e.g., logical address data, etc.), or othermetadata associated with the user data.

Different types of memory cells or memory arrays 120 can provide fordifferent page sizes or may use different amounts of metadata associatedtherewith. For example, different memory device types may have differentbit error rates, which can lead to different amounts of metadata toensure integrity of the page of data (e.g., a memory device with ahigher bit error rate may require more bytes of error correction codedata than a memory device with a lower bit error rate). As an example, amulti-level cell (MLC) NAND flash device may have a higher bit errorrate than a corresponding single-level cell (SLC) NAND flash device. Assuch, the MLC device may use more metadata bytes for error data than thecorresponding SLC device.

FIG. 2 illustrates an example schematic diagram of a 3D NANDarchitecture semiconductor memory array 200 including a number ofstrings of memory cells (e.g., first-third A₀ memory strings205A₀-207A₀, first-third A_(n) memory strings 205A_(n)-207A_(n),first-third B₀ memory strings 205B₀-207B₀, first-third B_(n) memorystrings 205B_(n)-207B_(n), etc.), organized in blocks (e.g., block A201A, block B 201B, etc.) and sub-blocks (e.g., sub-block A₀ 201A₀,sub-block A_(n) 201A_(n), sub-block B₀ 201B₀, sub-block B_(n) 201B_(n),etc.). The memory array 200 represents a portion of a greater number ofsimilar structures than would typically be found in a block, device, orother unit of a memory device.

Each string of memory cells includes a number of tiers of charge storagetransistors (e.g., floating gate transistors, charge-trappingstructures, etc.) stacked in the Z direction, source to drain, between asource line (SRC) 235 or a source-side select gate (SGS) (e.g.,first-third A₀ SGS 231A₀-233A₀, first-third A_(n) SGS 231A_(n)-233A_(n),first-third B₀ SGS 231B₀-233B₀, first-third B_(n) SGS 231B_(n)-233B_(n),etc.) and a drain-side select gate (SGD) (e.g., first-third A₀ SGD226A₀-228A₀, first-third A_(n) SGD 226A_(n)-228A_(n), first-third B₀ SGD226B₀-228B₀, first-third B_(n) SGD 226B_(n)-228B_(n), etc.). Each stringof memory cells in the 3D memory array 200 can be arranged along the Xdirection as data lines (e.g., bit lines (BL) BL0-BL2 220-222), andalong the Y direction as physical pages.

Within a physical page, each tier represents a row of memory cells, andeach string of memory cells represents a column. A sub-block can includeone or more physical pages. A block can include a number of sub-blocks(or physical pages) (e.g., 128, 256, 384, etc.). Although illustratedherein as having two blocks, each block having two sub-blocks, eachsub-block having a single physical page, each physical page having threestrings of memory cells, and each string having 8 tiers of memory cells,in other examples, the memory array 200 can include more or fewerblocks, sub-blocks, physical pages, strings of memory cells, memorycells, or tiers. For example, each string of memory cells can includemore or fewer tiers (e.g., 16, 32, 64, 128, etc.), as well as one ormore additional tiers of semiconductor material above or below thecharge storage transistors (e.g., select gates, data lines, etc.), asdesired. As an example, a 48 GB TLC NAND memory device can include18,592 bytes (B) of data per page (16,384+2208 bytes), 1536 pages perblock, 548 blocks per plane, and 4 or more planes per device.

Each memory cell in the memory array 200 includes a control gate (CG)coupled to (e.g., electrically or otherwise operatively connected to) anaccess line (e.g., word lines (WL) WL0 ₀-WL7 ₀ 210A-217A, WL0 ₁-WL7 ₁210B-217B, etc.), which collectively couples the control gates (CGs)across a specific tier, or a portion of a tier, as desired. Specifictiers in the 3D memory array, and accordingly, specific memory cells ina string, can be accessed or controlled using respective access lines.Groups of select gates can be accessed using various select lines. Forexample, first-third A₀ SGD 226A₀-228A₀ can be accessed using an A₀ SGDline SGD A₀ 225A₀, first-third A_(n) SGD 226A_(n)-228A_(n) can beaccessed using an A_(n) SGD line SGD A_(n) 225A_(n), first-third B₀ SGD226B₀-228B₀ can be accessed using an B₀ SGD line SGD B₀ 225B₀, andfirst-third B_(n) SGD 226B_(n)-228B_(n) can be accessed using an B_(n)SGD line SGD B_(n) 225B_(n). First-third A₀ SGS 231A₀-233A₀ andfirst-third A_(n) SGS 231A_(n)-233A_(n) can be accessed using a gateselect line SGS₀ 230A, and first-third B₀ SGS 231B₀-233B₀ andfirst-third B_(n) SGS 231B_(n)-233B_(n) can be accessed using a gateselect line SGS₁ 230B.

In an example, the memory array 200 can include a number of levels ofsemiconductor material (e.g., polysilicon, etc.) configured to couplethe control gates (CGs) of each memory cell or select gate (or a portionof the CGs or select gates) of a respective tier of the array. Specificstrings of memory cells in the array can be accessed, selected, orcontrolled using a combination of bit lines (BLs) and select gates,etc., and specific memory cells at one or more tiers in the specificstrings can be accessed, selected, or controlled using one or moreaccess lines (e.g., word lines).

FIG. 3 illustrates an example schematic diagram of a portion of a NANDarchitecture semiconductor memory array 300 including a plurality ofmemory cells 302 arranged in a two-dimensional array of strings (e.g.,first-third strings 305-307) and tiers (e.g., illustrated as respectiveword lines (WL) WL0-WL7 310-317, a drain-side select gate (SGD) line325, a source-side select gate (SGS) line 330, etc.), and senseamplifiers or devices 360. For example, the memory array 300 canillustrate an example schematic diagram of a portion of one physicalpage of memory cells of a 3D NAND architecture semiconductor memorydevice, such as illustrated in FIG. 2.

Each string of memory cells is coupled to a source line (SRC) 335 usinga respective source-side select gate (SGS) (e.g., first-third SGS331-333), and to a respective data line (e.g., first-third bit lines(BL) BL0-BL2 320-322) using a respective drain-side select gate (SGD)(e.g., first-third SGD 326-328). Although illustrated with 8 tiers(e.g., using word lines (WL) WL0-WL7 310-317) and three data lines(BL0-BL2 326-328) in the example of FIG. 3, other examples can includestrings of memory cells having more or fewer tiers or data lines, asdesired.

In a NAND architecture semiconductor memory array, such as the examplememory array 300, the state of a selected memory cell 302 can beaccessed by sensing a current or voltage variation associated with aparticular data line containing the selected memory cell 302. The memoryarray 300 can be accessed (e.g., by a control circuit, one or moreprocessors, digital logic, etc.) using one or more drivers. In anexample, one or more drivers can activate a specific memory cell, or setof memory cells, by driving a particular potential to one or more datalines (e.g., bit lines BL0-BL2), access lines (e.g., word linesWL0-WL7), or select gates, depending on the type of operation desired tobe performed on the specific memory cell or set of memory cells.

To program or write data to a memory cell 302, a programming voltage(Vpgm) (e.g., one or more programming pulses, etc.) can be applied toselected word lines (e.g., WL4), and thus, to a control gate of eachmemory cell 302 coupled to the selected word lines (e.g., first-thirdcontrol gates (CGs) 341-343 of the memory cells coupled to WL4).Programming pulses can begin, for example, at or near 15V, and, incertain examples, can increase in magnitude during each programmingpulse application. While the program voltage is applied to the selectedword lines, a potential, such as a ground potential (e.g., Vss), can beapplied to the data lines (e.g., bit lines) and substrates (and thus thechannels, between the sources and drains) of the memory cells targetedfor programming, resulting in a charge transfer (e.g., direct injectionor Fowler-Nordheim (FN) tunneling, etc.) from the channels to thefloating gates of the targeted memory cells.

In contrast, a pass voltage (Vpass) can be applied to one or more wordlines having memory cells that are not targeted for programming, or aninhibit voltage (e.g., Vcc) can be applied to data lines (e.g., bitlines) having memory cells that are not targeted for programming, forexample, to inhibit charge from being transferred from the channels tothe floating gates of such non-targeted memory cells. The pass voltagecan be variable, depending, for example, on the proximity of the appliedpass voltages to a word line targeted for programming. The inhibitvoltage can include a supply voltage (Vcc), such as a voltage from anexternal source or supply (e.g., a battery, an AC-to-DC converter,etc.), relative to a ground potential (e.g., Vss).

As an example, if a programming voltage (e.g., 15V or more) is appliedto a specific word line, such as WL4, a pass voltage of 10V can beapplied to one or more other word lines, such as WL3, WL5, etc., toinhibit programming of non-targeted memory cells, or to retain thevalues stored on such memory cells not targeted for programming. As thedistance between an applied program voltage and the non-targeted memorycells increases, the pass voltage to refrain from programming thenon-targeted memory cells can decrease. For example, where a programmingvoltage of 15V is applied to WL4, a pass voltage of 10V can be appliedto WL3 and WL5, a pass voltage of 8V can be applied to WL2 and WL6, apass voltage of 7V can be applied to WL1 and WL7, etc. In otherexamples, the pass voltages, or number of word lines, etc., can behigher or lower, or more or less.

The sense devices 360, coupled to one or more of the data lines (e.g.,first, second, or third bit lines (BL0-BL2) 320-322), can detect thestate of each memory cell in respective data lines by sensing a voltageor current on a particular data line.

Between applications of one or more programming pulses (e.g., Vpgm), averify operation can be performed to determine if a selected memory cellhas reached its intended programmed state. If the selected memory cellhas reached its intended programmed state, it can be inhibited fromfurther programming. If the selected memory cell has not reached itsintended programmed state, additional programming pulses can be applied.If the selected memory cell has not reached its intended programmedstate after a particular number of programming pulses (e.g., a maximumnumber), the selected memory cell, or a string, block, or pageassociated with such selected memory cell, can be marked as defective.

To erase a memory cell or a group of memory cells (e.g., erasure istypically performed in blocks or sub-blocks), an erasure voltage (Vers)(e.g., typically Vpgm) can be applied to the substrates (and thus thechannels, between the sources and drains) of the memory cells targetedfor erasure (e.g., using one or more bit lines, select gates, etc.),while the word lines of the targeted memory cells are kept at apotential, such as a ground potential (e.g., Vss), resulting in a chargetransfer (e.g., direct injection or Fowler-Nordheim (FN) tunneling,etc.) from the floating gates of the targeted memory cells to thechannels.

FIG. 4 illustrates an example block diagram of a memory device 400including a memory array 402 having a plurality of memory cells 404, andone or more circuits or components to provide communication with, orperform one or more memory operations on, the memory array 402. Thememory device 400 can include a row decoder 412, a column decoder 414,sense amplifiers 420, a page buffer 422, a selector 424, an input/output(I/O) circuit 426, and a memory control unit 430.

The memory cells 404 of the memory array 402 can be arranged in blocks,such as first and second blocks 402A, 402B. Each block can includesub-blocks. For example, the first block 402A can include first andsecond sub-blocks 402A₀, 402A_(n), and the second block 402B can includefirst and second sub-blocks 402B₀, 402B_(n). Each sub-block can includea number of physical pages, each page including a number of memory cells404. Although illustrated herein as having two blocks, each block havingtwo sub-blocks, and each sub-block having a number of memory cells 404,in other examples, the memory array 402 can include more or fewerblocks, sub-blocks, memory cells, etc. in other examples, the memorycells 404 can be arranged in a number of rows, columns, pages,sub-blocks, blocks, etc., and accessed using, for example, access lines406, first data lines 410, or one or more select gates, source lines,etc.

The memory control unit 430 can control memory operations of the memorydevice 400 according to one or more signals or instructions received oncontrol lines 432, including, for example, one or more clock signals orcontrol signals that indicate a desired operation (e.g., write, read,erase, etc.), or address signals (A0-AX) received on one or more addresslines 416. One or more devices external to the memory device 400 cancontrol the values of the control signals on the control lines 432, orthe address signals on the address line 416. Examples of devicesexternal to the memory device 400 can include, but are not limited to, ahost, a memory controller, a processor, or one or more circuits orcomponents not illustrated in FIG. 4.

The memory device 400 can use access lines 406 and first data lines 410to transfer data to (e.g., write or erase) or from (e.g., read) one ormore of the memory cells 404. The row decoder 412 and the column decoder414 can receive and decode the address signals (A0-AX) from the addressline 416, can determine which of the memory cells 404 are to beaccessed, and can provide signals to one or more of the access lines 406(e.g., one or more of a plurality of word lines (WL0-WLm)) or the firstdata lines 410 (e.g., one or more of a plurality of bit lines(BL0-BLn)), such as described above.

The memory device 400 can include sense circuitry, such as the senseamplifiers 420, configured to determine the values of data on (e.g.,read), or to determine the values of data to be written to, the memorycells 404 using the first data lines 410. For example, in a selectedstring of memory cells 404, one or more of the sense amplifiers 420 canread a logic level in the selected memory cell 404 in response to a readcurrent flowing in the memory array 402 through the selected string tothe data lines 410.

One or more devices external to the memory device 400 can communicatewith the memory device 400 using the I/O lines (DQ0-DQN) 408, addresslines 416 (A0-AX), or control lines 432. The input/output (I/O) circuit426 can transfer values of data in or out of the memory device 400, suchas in or out of the page buffer 422 or the memory array 402, using theI/O lines 408, according to, for example, the control lines 432 andaddress lines 416. The page buffer 422 can store data received from theone or more devices external to the memory device 400 before the data isprogrammed into relevant portions of the memory array 402 or can storedata read from the memory array 402 before the data is transmitted tothe one or more devices external to the memory device 400.

The column decoder 414 can receive and decode address signals (A0-AX)into one or more column select signals (CSEL1-CSELn). The selector 424(e.g., a select circuit) can receive the column select signals(CSEL1-CSELn) and select data in the page buffer 422 representing valuesof data to be read from or to be programmed into memory cells 404.Selected data can be transferred between the page buffer 422 and the I/Ocircuit 426 using second data lines 418.

The memory control unit 430 can receive positive and negative supplysignals, such as a supply voltage (Vcc) 434 and a negative supply (Vss)436 (e.g., a ground potential), from an external source or supply (e.g.,an internal or external battery, an AC-to-DC converter, etc.). Incertain examples, the memory control unit 430 can include a regulator428 to internally provide positive or negative supply signals.

FIG. 5 illustrates a block diagram of an example machine 500 upon whichany one or more of the techniques (e.g., methodologies) discussed hereinmay perform. In alternative embodiments, the machine 500 may operate asa standalone device or may be connected (e.g., networked) to othermachines. In a networked deployment, the machine 500 may operate in thecapacity of a server machine, a client machine, or both in server-clientnetwork environments. In an example, the machine 500 may act as a peermachine in peer-to-peer (P2P) (or other distributed) networkenvironment. The machine 500 may be a personal computer (PC), a tabletPC, a set-top box (STB), a personal digital assistant (PDA), a mobiletelephone, a web appliance, an IoT device, automotive system, or anymachine capable of executing instructions (sequential or otherwise) thatspecify actions to be taken by that machine. Further, while only asingle machine is illustrated, the term “machine” shall also be taken toinclude any collection of machines that individually or jointly executea set (or multiple sets) of instructions to perform any one or more ofthe methodologies discussed herein, such as cloud computing, software asa service (SaaS), other computer cluster configurations.

Examples, as described herein, may include, or may operate by, logic,components, devices, packages, or mechanisms. Circuitry is a collection(e.g., set) of circuits implemented in tangible entities that includehardware (e.g., simple circuits, gates, logic, etc.). Circuitrymembership may be flexible over time and underlying hardwarevariability. Circuitries include members that may, alone or incombination, perform specific tasks when operating. In an example,hardware of the circuitry may be immutably designed to carry out aspecific operation (e.g., hardwired). In an example, the hardware of thecircuitry may include variably connected physical components (e.g.,execution units, transistors, simple circuits, etc.) including acomputer-readable medium physically modified (e.g., magnetically,electrically, moveable placement of invariant massed particles, etc.) toencode instructions of the specific operation. In connecting thephysical components, the underlying electrical properties of a hardwareconstituent are changed, for example, from an insulator to a conductoror vice versa. The instructions enable participating hardware (e.g., theexecution units or a loading mechanism) to create members of thecircuitry in hardware via the variable connections to carry out portionsof the specific tasks when in operation. Accordingly, thecomputer-readable medium is communicatively coupled to the othercomponents of the circuitry when the device is operating. In an example,any of the physical components may be used in more than one member ofmore than one circuitry. For example, under operation, execution unitsmay be used in a first circuit of a first circuitry at one point in timeand reused by a second circuit in the first circuitry, or by a thirdcircuit in a second circuitry at a different time.

The machine (e.g., computer system) 500 (e.g., the host device 105, thememory device 110, etc.) may include a hardware processor 502 (e.g., acentral processing unit (CPU), a graphics processing unit (CPU), ahardware processor core, or any combination thereof, such as the memoryprocessing device 115, etc.), a main memory 504 and a static memory 506,some or all of which may communicate with each other via an interlink(e.g., bus) 508. The machine 500 may further include a display device510, an alphanumeric input device 512 (e.g., a keyboard), and a userinterface (UI) navigation device 514 (e.g., a mouse). In an example, thedisplay device 510, input device 512 and UI navigation device 514 may bea touch screen display. The machine 500 may additionally include astorage device (e.g., drive unit) 521, a signal generation device 518(e.g., a speaker), a network interface device 520, and one or moresensors 516, such as a global positioning system (GPS) sensor, compass,accelerometer, or other sensor. The machine 500 may include an outputcontroller 528, such as a serial (e.g., universal serial bus (USB),parallel, or other wired or wireless (e.g., infrared (IR), near fieldcommunication (NFC), etc.) connection to communicate or control one ormore peripheral devices (e.g., a printer, card reader, etc.).

The storage device 521 may include a machine-readable medium 522 onwhich is stored one or more sets of data structures or instructions 524(e.g., software) embodying or utilized by any one or more of thetechniques or functions described herein. The instructions 524 may alsoreside, completely or at least partially, within the main memory 504,within static memory 506, or within the hardware processor 502 duringexecution thereof by the machine 500. In an example, one or anycombination of the hardware processor 502, the main memory 504, thestatic memory 506, or the storage device 521 may constitute themachine-readable medium 522.

While the machine-readable medium 522 is illustrated as a single medium,the term “machine-readable medium” may include a single medium ormultiple media (e.g., a centralized or distributed database, orassociated caches and servers) configured to store the one or moreinstructions 524.

The term “machine-readable medium” may include any medium that iscapable of storing, encoding, or carrying instructions for execution bythe machine 500 and that cause the machine 500 to perform any one ormore of the techniques of the present disclosure, or that is capable ofstoring, encoding or carrying data structures used by or associated withsuch instructions. Non-limiting machine-readable medium examples mayinclude solid-state memories, and optical and magnetic media. In anexample, a massed machine-readable medium comprises a machine-readablemedium with a plurality of particles having invariant (e.g., rest) mass.Accordingly, massed machine-readable media are not transitorypropagating signals. Specific examples of massed machine-readable mediamay include: non-volatile memory, such as semiconductor memory devices(e.g., Electrically Programmable Read-Only Memory (EPROM), ElectricallyErasable Programmable Read-Only Memory (EEPROM)) and flash memorydevices; magnetic disks, such as internal hard disks and removabledisks; magneto-optical disks; and CD-ROM and DVD-ROM disks.

The instructions 524 (e.g., software, programs, an operating system(OS), etc.) or other data are stored on the storage device 521, can beaccessed by the memory 504 for use by the processor 502. The memory 504(e.g., DRAM) is typically fast, but volatile, and thus a different typeof storage than the storage device 521 (e.g., an SSD), which is suitablefor long-term storage, including while in an “off” condition. Theinstructions 524 or data in use by a user or the machine 500 aretypically loaded in the memory 504 for use by the processor 502. Whenthe memory 504 is full, virtual space from the storage device 521 can beallocated to supplement the memory 504; however, because the storagedevice 521 is typically slower than the memory 504, and write speeds aretypically at least twice as slow as read speeds, use of virtual memorycan greatly reduce user experience due to storage device latency (incontrast to the memory 504, e.g., DRAM). Further, use of the storagedevice 521 for virtual memory can greatly reduce the usable lifespan ofthe storage device 521.

In contrast to virtual memory, virtual memory compression (e.g., theLinux® kernel feature “ZRAM”) uses part of the memory as compressedblock storage to avoid, paging to the storage device 521. Paging cantake place in the compressed block until it is time to write such datato the storage device 521. Virtual memory compression increases theusable size of memory 504, while reducing wear on the storage device521.

Storage devices optimized for mobile electronic devices, or mobilestorage, traditionally include MMC solid-state storage devices (e.g.,micro Secure Digital (microSD™) cards, etc.). MMC devices include anumber of parallel interfaces (e.g., an 8-bit parallel interface) with ahost device, and are often removable and separate components from thehost device. In contrast, eMMC™ devices are attached to a circuit boardand considered a component of the host device, with read speeds thatrival serial ATA™ (Serial AT (Advanced Technology) Attachment, or SATA)based SSD devices. However, demand for mobile device performancecontinues to increase, such as to frilly enable virtual oraugmented-reality devices, utilize increasing networks speeds, etc. Inresponse to this demand, storage devices have shifted from parallel toserial communication interfaces. Universal Flash Storage (UFS) devices,including controllers and firmware, communicate with a host device usinga low-voltage differential signaling (LVDS) serial interface withdedicated read/write paths, further advancing greater read/write speeds.

The instructions 524 may further be transmitted or received over acommunications network 526 using a transmission medium via the networkinterface device 520 utilizing any one of a number of transfer protocols(e.g., frame relay, internet protocol (IP), transmission controlprotocol (TCP), user datagram protocol (UDP), hypertext transferprotocol (HTTP), etc.). Example communication networks may include alocal area network (LAN), a wide area network (WAN), a packet datanetwork (e.g., the Internet), mobile telephone networks (e.g., cellularnetworks), Plain Old Telephone (POTS) networks, and wireless datanetworks (e.g., Institute of Electrical and Electronics Engineers (IEEE)802.11 family of standards known as Wi-Fi®, IEEE 802.16 family ofstandards known as WiMax®), IEEE 802.15.4 family of standards,peer-to-peer (P2P) networks, among others. In an example, the networkinterface device 520 may include one or more physical jacks (e.g.,Ethernet, coaxial, or phone jacks) or one or more antennas to connect tothe communications network 526. In an example, the network interfacedevice 520 may include a plurality of antennas to wirelessly communicateusing at least one of single-input multiple-output (SIMO),multiple-input multiple-output (MIMO), or multiple-input single-output(MISO) techniques. The term “transmission signal” shall be taken toinclude any signal that is capable of storing, encoding, or carryinginstructions for execution by the machine 500, and includes digital oranalog communications signals or other signals to facilitatecommunication of such software.

FIG. 6 is an illustration of an allocation of a changelog area startingfrom a fixed geometry evolving to a variable geometry based on a realmemory occupancy. The fixed allocation, which is a virtual allocation,can cover all the memory devices associated with changelog, for example,all managed memory devices on a card. The variable geometry allocationis a real allocation that depends on usage model. At a first time, at651, the changelog area allocation 652 can be seen as a table of n x nelements, where each element is a correspondence of a physical addresswith a VP. It appears as a simple table where each row intercepts aspecific page pointer table (PPT). A PPT is an array that includes anumber of physical addresses. Each row of the table 652 is virtuallydimensioned for how many VPs that are capable of being tracked on thesame value for the respective row. The term virtual is used forexpressing a potential value not actually allocated, only a small chunkof memory is actually allocated. In this example, for n number of PPTs,each PPT can include physical addresses for n VPs. During changelogupdate, the geometry of the table can be changed, adapting it to theremaining memory assuming a new structure where the virtual size of eachrow is dynamically reassigned. This reassignment happens each time a PPTis intercepted. In the example shown, at 653, the shaded entries show areal allocated memory 654 with respect to the allocation of a globalindexing schema of table 652 to address the memory devices associatedwith the changelog.

When the real allocated memory consumes all available memory for achangelog, an update checkpoint can be triggered. A checkpoint occurswhen the L2P changelog becomes frill and the checkpoint procedure caninclude loading all the PPTs that are in the L2P changelog into an L2Pcache in order to update PPTs and then flush (store) the modified PPTsinto a memory device, for example, a NAND memory device. A system can beconfigured, upon determination that the allocated amount of memory spaceis used by the changelog, to trigger a procedure to load PPTs from aNAND memory device to a RAM, update the PPTs in the RAM, and flush thePPTs from the RAM to the NAND memory device. The checkpoint operationcan be a time consuming operation.

In an approach for dynamic scaling for a changelog in a storage device,the size of the memory area, where the dynamic changelog table can beallocated, can be fixed with the maximum number of entries equal to efor each addressable PPI. The max number of PPTs addressable in thechangelog can be fixed as the maximum number of table rows equal to r. APPT bitmap can be generated with respect to the r rows. A bitmap is amapping from a domain to a number of bits, which provides arepresentation of information regarding items of the domain. A PPTbitmap is an array having a bit (storage location) for each addressablePPT for the managed memory device. A bit, at a location in the bitmapfor a PPT addressed, having a value of zero for the PPT can identifythat the PPI addressed is not stored in the changelog, and the bithaving a value of one for the PPT can identify that the PPT addressed isstored in the changelog. Alternatively, the bit values of one and zerocan provide reversed identifications. In an embodiment, a single (one)PPT bitmap can be used. However, multiple PPT bitmaps can be implementedfor a changelog.

For each specific PPT, a VP bitmap can be generated. A VP bitmapincludes a bit for each VP corresponding to the specific PPT. There canbe r VP bitmaps, one for each row (PPT). A dynamic linked list for thePPTs can be generated with a maximum number of nodes equal to r. Adynamic linked list associated with VPs for each of these PPT nodes canbe generated with each such dynamic linked list having a maximum numberof nodes equal to e. One or more hardware accelerators can beimplemented, where each hardware accelerator is able to count how manybits are asserted inside a memory range (a sequence of bytes). Thememory range can include the range of bit locations in the PPT bitmap orthe range of bit locations in the VP bitmaps.

In the allocation for the dynamic scaling for the changelog, as notedabove, how many entries the changelog table can contain for each PPT(e=entries count) is defined. Each entry in a row identifies an indexfor a VP. The changelog is seen as a dynamic table where each row is anentry point for a specific PPT, and each column is a specific VP indexfor the specific PPT. The table can dynamically change its structurewith a variable number of rows, where each row can have a variablenumber of columns. The dynamic table structure can change within twolimit cases. One limit case is based on a full sequential writetransaction, on a single PPT, that causes a table with one row and anumber of columns equal to e if e is less than or equal to the PPT sizein term of VPs. The second limit case is based on a full random writetransaction, on different PPTs, that causes a table with e rows, if e isless than or equal to the to the PPT count inside the memory devicesize, where each row has a single column.

The changelog can be seen as a two-dimensional vector changelog of[rows] and [columns]. The rows can correspond to PPI s and the columnsto VPs. The changelog can be accessed for enqueueing, overwriting, andreading the same VP. All access types can perform the same steps. FIG. 7is a flow diagram of an embodiment of an example procedure of accessinga changelog for writing at a VP. At 710, a VP is used as an entry to thechangelog for a write operation by using an index for the VP. At 720,the index is used to check for a PPT presence in the PPT bitmap. At 730,a determination is made as to whether the PPT is present. Upondetermination that the PPT is present in the PPT bitmap, at 740, theposition of the PPT (row in the table) is evaluated. This evaluation canbe conducted by making a bit count before the related PPT bit positioninside the PPT bitmap. At 750, a check for VP presence inside the VPbitmap can be made. At 760, a determination is made as to whether the VPis present. Upon determination that the VP is present in the VP bitmap,at 770, the position of the VP (column in the table) is evaluated. Thisevaluation can be conducted by making a bit count before the related VPbit position inside the VP bitmap. At 780, a related list can benavigated up to the desired VP node. The write action can be made on theaddressed VP from the information at the desired VP node. As notedabove, this procedure can be used to make a read operation, or otheroperation, on the addressed VP.

FIG. 8 is an illustration of an embodiment of an example operation thateffectively adds a VP to a changelog data structure. In this example, aVP is to be added that is related bit 3 of a VP bitmap for specific PPTthat is PPT0 in a PPT bitmap 861. The PPT bitmap 861 is shown havingentries for PPT0, PPT1, PPT2, PPT3, PPT4, PPT5, and PPT6 with anindication that PPT bitmap 861 can have more locations for more PPTs. Aone bit is in each of the locations for PPT0, PPT3, and PPT5, indicatingthe presence of PPT0, PPT3, and PPT5 in the changelog. A zero bit ineach of the locations for PPT1, PPT2, PPT4, and PPT6 indicates theabsence of PPT1, PTT2, PPT4, and PPT6 in the changelog. Also shown areVP bitmaps 865-0, 865-3, and 865-5 for addressable PPT0, PPT3, and PPT5,respectively. The numbers 0, 1, 2, 3, 4, 5, 6, 7, 8 above VP bitmap865-0 are VP index positions in each of the VP bitmaps. Next to PPTbitmap position 0 is a 0. Next to PPT bitmap position 3 is a 1 and nextto PPT bitmap position 5 is a 2. These numbers, 0, 1, and 2, identifythat PPT0, PPT3, and PPT5 are in a linked PPT list of PPTs in thechangelog, where PPT0 is in the (first) position of the PPT list, PPT3is in the 1 (second) position of the PPT list, and PPT5 is in the 2(third) position of the PPT Corresponding to the 0^(th) (first) positionof the PPT first is a linked VP list 866-0 shown as having three nodes[0], [1], and [2] at a time before the VP related to bit 3 is added byan insertion process.

In this example, VP bitmap 865-0 has a one asserted in index positions0, 2, and 4 of VP bitmap 865-0 for a total bit count equal to three. Theasserted ones indicate presence of associated VPs corresponding to PPT0.The asserted ones indicate presence of associated VPs corresponding toPPT0. The asserted bits in bitmap 865-0 are mapped to the three nodes[0], [1], and [2] of the linked VP list 866-0. VP bitmap 865-3 has atotal bit count equal to two asserted ones, indicating presence ofassociated VPs corresponding to PPT3. The two asserted bits in bitmap865-3 are mapped to the two nodes [0] and [1] of the linked VP list866-1. VP bitmap 865-5 has a total bit count equal to three assertedones, indicating presence of associated VPs corresponding to PPT5. Thethree asserted bits in bitmap 865-3 are mapped to the three nodes [0],[1], and [2] of the linked VP list 866-2.

When the VP is added to VP bitmap 865-0 at VP index position 3, the VPindex position 3 will be asserted by changing the zero, present beforeadding the VP, to a one. The number of bits asserted (set to one) in VPbitmap 865-0 before the added VP at index position 3 are counted, wherethese counted asserted bits correspond to nodes in the linked VP list866-0. The count, in this example, results in a determination that 2bits are enabled before the index position 3 at which the VP is added,which indicates two iterations on the VP list 866-0. Two iterationsmeans that a node, for the added VP, is inserted in the VP list 866-0after the first two nodes currently in the VP list 866-0 from the headend of VP list 866-0. Iteration is a navigation or moving in a list to awanted node. Alternatively, the count can be made from the tail of VPlist 866-0. Choice of which end to count from can depend on the VP indexto which a VP element is being added and the number of index positionsof VP bitmap 865-0. Node [2] of the VP list becomes node [3] of the VPlist 866-0 with the insert of the node related to VP index 3 of bitmap865-0 as node [2] of the VP list 866-0.

The list navigation of a VP list, for example VP list 866-0, 866-3, or866-5, can be performed from the head of the list of the tail of thelist. The shorter of the two routes may be preferred. The maximum numberof list iterations to access to a changelog element in this approach isthe count of VPs for the given PPT divided by two. Based on the nodeposition, one can choose to navigate the list from the head or tail ofthe list, in which case, the worst case is the maximum-list-size dividedby two, where the maximum-list-size is the number of VPs contained in aPPT, which can be written as (VP_count_for_PPT).

In an approach, as taught herein, it is sufficient to store onlyphysical address, without storing a pair of pair information about L2Ptranslation in the changelog. Such a changelog is accessible using adirect indexing. In addition, the changelog structured using bitmaps cansupport VP direct overwriting, removing, and adding. Further, since theVP element is being updated in a data transaction, storing of the L2Phistory of the VP can be avoided, which reduces the amount of datastorage being used.

For an example of a 256 GB data memory device, the amount of storageused for a changelog in a storage device, for example a RAM, can include8 KB for a PPT bitmap and 128 B for a VP bitmap with a changelog elementsize of 4 B. In the case of 256 PPTs, 256 VP bitmaps can be addressed,one VP bitmap for each PPT, using approximately 32 KB. For the changelogallocation size for 4096 elements, the storage size is approximately 16KB. For this example, the amount of storage used for a changelog in thestorage device adds to approximately 32 KB+16 KB+8 KB=56 KB.

To implement an approach for a changelog using bitmaps and indexing,counting of bits before a related PPT bit position inside the PPT bitmapand before the related VP bit position inside the VP bitmap can berealized by one or more hardware accelerators. A hardware acceleratorcan be implemented to count how many bits are asserted inside a memoryrange (a sequence of words). The counting can be truncated on aparticular test bit. Such a hardware accelerator can be implemented tocheck whether a particular test bit is asserted inside a memory range (asequence of words). A particular test bit is a current bit of interest.Each hardware accelerator can have a number of registers. The registerscan include a start_addr register to hold a start memory address, awords register to identify how many words to iterate for counting, and adirection register to identify an iteration direction. The start_addrregister can be a thirty-two bit register or other appropriate sizeregister. The words register can be a thirty-two bit register or otherappropriate size register. The direction register can be a one bitregister. The start_addr+words indicates how many bits are assertedbefore the test bit. The start_addr+words indicates how many bits areasserted after the test bit.

The registers of a hardware accelerator can also include a test_bit_posregister, a bits_count register, a test_bit_state register, anenable_check register, and a check_complete register. The contents ofthe test_bit_pos register can indicate on which bit inside the memoryrange the counting is to be truncated. It can be used to know how manybits are asserted (bit count) before or after the indicated test bit.The test bit is intended, as absolute in the range of(start_addr+words). The test_bit_pos register can be a thirty-two bitregister or other appropriate size register. The bits_count register canhold the result of the bits count. The bits_count register can be athirty-two bit register or other appropriate size register. Thetest_bit_state register can hold the check result on the test bit asasserted or not asserted. The test_bit_state register can be a one bitregister or other appropriate size register. The enable_check registercan hold an indicator that, when asserted, starts the bits counting andchecks whether the test bit is asserted. It can be used to reset theindicator in the check_complete register. The enable_check register canbe a one bit register or other appropriate size register. The contentsof the check_complete register can indicate when the counting iscomplete. When asserted, it can be used to reset the indicator in theenable_check register. The check_complete register can be a one bitregister or other appropriate size register.

An approach to using a changelog index scheme can include operations toaccess a virtual table with X rows and Y columns, with a maximum countof items equal to X*Y (* being a multiplication operator), using lessmemory. Since in the real condition or operating environment, thevirtual table probably may never be full, the allocation schema, astaught herein, allows use of a reduced memory area for the virtualtable, ensuring a direct access to a table item. This access can beaccomplished using, instead of two coordinates (X and Y), fourcoordinates—two standard coordinates (X and Y) and two sequentialcoordinates (Sx and Sy).

Using the first two coordinates X and Y as positions inside a x_bitmapand a y_bitmap, respectively, the presence of a desired item in thetable can be checked. The check can be accomplished with a determinationthat correspondent bit in a related position in the appropriate bit isasserted, where assertion can correspond to the respective bit locationcontaining a one. In an alternative logic approach, assertion cancorrespond to the respective bit location containing a zero. With thetable items stored in some linked lists, where each list is seen as arow and each node is seen as column, the sequential coordinates coincidewith how many bit are asserted in the x_bitmap and y_bitmap before bit Xand bit Y. An example is illustrated in FIG. 9.

FIG. 9 is an illustration of an embodiment of example bitmaps and linkedlists associated with a virtual table that can represent a table havingelements correlating VP elements to PPTs. The virtual table, not shown,has six rows and five columns where allocation of elements can have6*5=30 items. In FIG. 9, there is one bitmap 961 shown as one columnhaving six rows, where the six rows can be indexed sequentially from topto bottom as 0, 1, 2, 3, 4, and 5. The bitmap 961 can correspond to aPPT bitmap associated with six PPTs with the six PPTs being labelled asPPT0, PPT1, PPT2, PPT3, PPT4, and PPT5 in a one to one correspondencewith row indexes 0, 1, 2, 3, 4, and 5. In this example, the row ofbitmap 961 indexed as 1 corresponds to a bitmap 965-1 and the row ofbitmap 961 indexed as 4 corresponds to a bitmap 965-4, where each of thebitmap 965-1 and the bitmap 965-4 is a row having five columns indexedas 0, 1, 2, 3, and 4. The bitmap 965-1 can correspond to a VP bitmap forPPT1 and the bitmap 965-4 can correspond to a VP bitmap for PPT4.

Consider the case for the real allocation of four items (item 1, item 2,item 3, and item 4) as shown as asserted ones in the bitmap 965-1 andthe bitmap 965-4. Since there is no real allocation of other itemsassociated with the bitmap 961, the only bitmaps allocated as rows arethe bitmap 965-1 and the bitmap 965-4. Item 1 is allocated for row 1 ofthe bitmap 961 with a one assert in column 1 of the bitmap 965-1. Item 2is allocated for row 1 of the bitmap 961 with a one asserted in column 4of the bitmap 965-1. Item 3 is allocated for row 4 of the bitmap 961with a one assert in column 0 of bitmap 965-3. Item 4 is allocated forrow 4 of the bitmap 961 with a one assert in column 3 of bitmap 965-3.The other positions of in the bitmap 965-1 and the bitmap 965-4 containzeros as there are only four items allocated in this example. There aretwo lists 966-1 and 966-3 linked to the bitmap 965-1 and the bitmap965-4, respectively. Linked list 966-1 contains only two elementsdefined by the positions in the bitmap 965-1 that have a one asserted.Position zero of linked list 966-1 is a node containing information foritem 1 corresponding to column 1 of the bitmap 965-1 that is correlatedto position 1 of the bitmap 961, and position one of linked list 966-1is a node containing information for item 2 corresponding to column 4 ofthe bitmap 965-1 that is correlated to position 4 of the bitmap 961.Position zero of linked list 966-4 is a node containing information foritem 3 corresponding to column 0 of the bitmap 965-4 that is correlatedto position 4 of the bitmap 961, and position one of linked list 966-4is a node containing information for item 4 corresponding to column 3 ofthe bitmap 965-4 that is correlated to position 4 of the bitmap 961.Though the associated virtual table corresponds to allocation for thirtyitems, the use of bitmaps and linked lists allows for the allocation ofitems being considered, which in this example is four items.

FIGS. 10A-10D illustrate an example of implementing a changelog indexingscheme that can reduce memory area used for a changelog. For ease ofdiscussion, a changelog for a small memory is represented in thesefigures. In this example, the virtual page size is 4096 bytes (each VPreferred to as 4 kB) for a device memory size of 20 VPs (40962*0=81900bytes, which is referred to as 80 kB). The number of physical pagetables (PPTs) is set equal to four, where each PPT can address five VPs.The four PPI s can be labelled as PPT0, PPT1, PPT2, and PPT3, PPT0 canaddress VP elements from VP0 to VP4. PPT1 can address VP elements fromVP5 to VP9. PPT2 can address VP elements from VP10 to VP14. PPT3 canaddress VP elements from VP15 to VP19. Each of VP0, VP1, VP2, VP3, VP4,VP5, VP6, VP7, VP8, VP9, VP10, VP11, VP12, VP13, VP14, VP15, VP16, VP17,VP18, an VP19 includes an absolute index of the respective VP inside thememory area. For example, for VP8, 8 is the absolute index of therespective VP inside the memory area.

FIG. 10A shows a global changelog table 1055 in a storage device. Thestorage device can be realized as RAM. The global changelog table (GCT)1055 is able to represent the whole memory area addressable using twospatial coordinates Y for rows corresponding to PPIs and X for columnscorresponding to VPs, where the VPs are arranged in PPTs. However, thistype of the representation has shortcomings with respect to memory usedin the storage device for the changelog. For example, a memory of 512 GBwith VP size=4096 bytes uses 134,217,728 cells in the GCT 1055, whereeach cell contains a 32 bit physical address of a location in which theVP is remapped. In this case, a RAM to address the whole device memoryshould be approximately 512 MB. This size of memory used in the RAMprovides impetus to generate a different addressing schema. In variousembodiments, the same result for effectively obtaining informationrelating a VP to PPT can be accomplished using less RAM by using fourcoordinates instead of the canonical two coordinates, Y and X. The twospatial coordinates (Y and X) are used to check VP presence in thebitmaps for accessing the changelog. Two temporal or sequentialcoordinates (Sy and Sx) can be used to navigate a linked list to reachthe wanted VP node (cell). The GCT 1055, in this example, includes rowsindexed 0 to 3 to correspond to PPTs given by PPT0, PPT1, PPT2, andPPT3, respectively. Each row of the global changelog table 1055 has fivecolumns indexed 0 to 4 for VPs.

FIG. 10B shows a sequence of write commands 1058 issued by a host, whereall VPs can be seen to intercept rows in the GCT of FIG. 10A. The hostdevice write sequence includes generation of absolute VP indices VP0,VP5, VP3, VP19, VP8, VP6, VP8 that are within a sequence of consecutivenumbers from 0 to a number representing the total of the number ofpossible VPs. In the write sequence 1058, VP0 and VP3 can be seen tobelong to PPT0 of GCT 1055; VP5, VP6 and VP8 can be seen to belong toPPT0 of GCT 1055; and VP19 can be seen to belong to PPT3 of GCT 1055.The last element in the write sequence 1058 of VPs is another writeoperation with respect to VP8.

FIGS. 10C and 10D illustrate an embodiment of an example changelogrepresentation in RAM. This representation occupies less space in theRAM than the GCT 1055. FIG. 10C shows an embodiment of an example mannerin which bitmaps can be arranged in the changelog for spatialcoordinates. Bitmap 1061 is a PPT bitmap 1061. The Y coordinate is thePPT of the wanted VP, where the Y coordinate is indexed with integersfrom 0 to 3. The related bit state in each location of the PPT bitmap1061 has one of two states. A value of zero in a bit location of the PPTbitmap 1061 can be used to mean that the PPT addressed by a given Ycoordinate is not stored in the changelog. A value of one in a bitlocation of the PPT bitmap 1061 can be used to mean that the PPTaddressed by a given Y coordinate is stored in the changelog. Dependingon the logic used, the roles of a zero and a one for presence of a PPTcan be reversed.

Associated with each Y coordinate, there is a VP bitmap. Y coordinates0, 1, 2, and 3 are correlated to VP bitmap 1065-0, VP bitmap 1065-1, VPbitmap 1065-2, and VP bitmap 1065-3, respectively. The X coordinate,from 0 to 4 in this example, for each VP bitmap is the VP index insidethe related PPT. A value of zero in a bit location of a VP bitmap of thefour bitmaps can be used to mean that the VP addressed by a given Xcoordinate is not stored in the changelog. A value of one in a bitlocation of a VP bitmap of the four bitmaps can be used to mean that theVP addressed by a given X coordinate is stored in the changelog.Depending on the logic used, the roles of a zero and a one for presenceof a VP can be reversed. As shown in FIG. 10C, a one in location zero ofVP bitmap 1065-0; a one in location three of VP bitmap 1065-0; a one inlocation zero of VP bitmap 1065-1; a one in location one of VP bitmap1065-1; a one in location three of VP bitmap 1065-1; and a one inlocation four of VP bitmap 1065-3 identify the presence of VP0, VP3,VP0, VP6, VP8, and VP19 in the changelog, where their presencecorresponds to the previous write sequence 1058 by a host, as shown inFIG. 10B.

FIG. 10D shows an embodiment of an example manner in which linked listsare arranged in the changelog for temporal coordinates. A list 1064 islinked to the PPT bitmap 1061. Link list 1064 is a PPT linked list,where PPT linked list 1064 contains only the PPTs stored in thechangelog. In the example of FIG. 10B and FIG. 10C, there are only threenodes in the PPT linked list 1064, corresponding to the asserted ones inthe PPT bitmap 1061 of FIG. 10C. For each PPT in the PPT linked list1064, there is a VP linked list. For PPT0 in PPT linked list 1064, thereis VP linked list 1066-0. For PPT1 in PPT linked list 1064, there is VPlinked list 1066-1. For PPT3 in PPT linked list 1064, there is VP linkedlist 1066-3. For each linked list, there is a head end and a tail endfrom which the linked lists can be navigated to find a desired VP of ahost generated operation.

Consider the following example algorithm for searching and updating a VPinside a changelog. An algorithm is a sequence of actions or stages toattain a specified goal. In this example, VP8 is being updated, whereVP8 is the last VP in the write sequence 1058 of VPs by a host as shownin FIG. 10B, using bitmaps, lists linked to the bitmaps, and a counterof bits asserted in the bitmaps. The bitmaps and linked lists arediscussed below with respect to FIGS. 10C and 10D. As noted above forthe VP8 in this example, 8 is the absolute index of the VP8 insidememory area. At stage 1, the associated spatial Y coordinate of the bitrelated to the PPT corresponding to VP8 can be evaluated, where thespatial Y coordinate in this example is one of 0 to 5 identifying aspecific bit location in PPI bitmap 1061. This evaluation can beperformed by making an integer division of the VP absolute index by thePPT size. For VP8, the related PPT bit in bitmap 1061, using the integerdivision approach, is given by:PPT bit=int(VP absolute index/PPT size)=8/5=1With the Y coordinate being 1 for the one location in the PPT bitmap1061, the VP8 is in PPT1.

At stage 2, the state of the related bit in the PPT bitmap, such as PPTbitmap 1061, is checked. If the related bit from the integer division inthe PPT bitmap 1061 is asserted, set equal to one, then the related PPTis stored in the changelog. As seen in FIG. 10C, the value of the Ycoordinate, which is the location 1 in the PPT bitmap 1061, is one, soPPT1 is stored in the change log for this example.

At stage 3, the temporal Y coordinate of the node in the PPT list 1064(its position) is evaluated by counting how many bits are asserted inthe PEI bitmap 1061 before the wanted bit. In this example, the spatialY coordinate is bit one in the PPT bitmap 1061. Before the bit onelocation in the PPT bitmap 1061, there is only one asserted bit, whichis a one in bit zero location in the PPT bitmap 1061 corresponding toPPT0. PPT0 is the first node from the head end in the PPT list 1064,where the PPT list 1064 lists each PPT in which its correspondinglocation in the PPT bitmap 1061 is asserted. So, in this example, thewanted PPI node is the second node in the PPT list 1064. This stageincludes navigating the PPT linked list 1064 up to second node in thePPT linked list 1064. This node contains a pointer to the VP linked listrelated to PPT1.

At stage 4, the spatial X coordinate of the bit (location), in a VPbitmap correlated to the determined PPT, related to wanted VP isevaluated. This bit location is a VP index within a VP bitmap. Theevaluation can be performed by executing a modulo operation of the VPabsolute index with respect to the PPT size (the symbol for a modulooperation is also given herein as %). In this example, the VP index forVP8 can be given by:VP index=(VP absolute index) mod(PPT size)=8% 5=3,where 3 is the relative VP Index of VP8 in the determined PPT. In thisexample, the wanted VP8 for updating as a VP index of three identifyingthat the VP8 is related to the position three in a VP bitmap (In thisexample, the VP bitmaps have five positions indexed from zero to foursuch that position three is the fourth location of a bitmap). Since therelated PPT has been determined to be PPT1, the wanted VP8 is associatedwith position three of VP bitmap 1065-1 shown in FIG. 10C.

At stage 5, the state of the related bit in the VP bitmap, such as VPbitmap 1065-1 in this example, is checked. If the related bit, which isgiven by the VP index determined from the modulo operation, is asserted,which is the value at the VP index set equal to one, then the wanted VPwith the VP index for the determined PPT is stored inside changelog. Asseen FIG. 10C, the value of the VP index, which is the location 3 in theVP bitmap 1065-1, is one, so the wanted VP index is stored insidechangelog for this example.

At stage 6, the temporal X coordinate of the node in the VP list 1066-1(its position) is evaluated by counting how many bits are asserted inthe VP bitmap 1065-1, to which VP list 1066-1 is linked, before thewanted bit. In this example, the spatial X coordinate is at the bitthree location in the VP bitmap 1065-1. Before the bit three location inthe VP bitmap 1065-1 corresponding to PPT1, there are two bits asserted,which are a one in bit zero location in the VP bitmap 1065-1 and a onein bit one location in the VP bitmap 1065-1. So the wanted node is thethird node in the VP list 1066-1, which contains the related NANDphysical address. This node can be updated with new information aboutVP8.

The above algorithm has been applied to the example of FIGS. 10A-10D inwhich the size of the PPTs and number of VPs have been made small forease of discussion. The above algorithm approach can be applied tomemory devices with large allocations for data storage. In addition,various permutations to this algorithmic approach can be made. Use ofbitmaps, lists linked to the bitmaps, and a counter of bits asserted inthe bitmaps, similar to the teachings herein, can provide for a dynamicreduction in memory usage for changelog operation relative toconventional approaches.

FIG. 11 is a block diagram of an embodiment of example system 1100including a host 1105 that operates with a memory system 1110 havingmultiple memory devices and a storage device 1114 in which a changelog,implemented to correlate virtual page addresses to physical addresses inone or more of the memory devices, is constructed in the storage device1114 with an allocation schema for a scalable memory area in the storagedevice 1114. The storage device 1114 can be realized as a RAM device.The host 1105 is coupled to the memory system 1110 by an interface 1120.The memory system 1110 can include a processing device 1115 coupled tomemory devices 1112-1, 1112-2, 1112-3, 1112-4, 1112-5, and 1112-6 by abus 1127. The memory devices 1112-1, 1112-2, 1112-3, 1112-4, 1112-5, and1112-6 may be NAND memory devices. Though six memory devices are shownin FIG. 11, the memory system 1110 can be implemented with less or morethan six memory devices, that is memory system 1110 can comprise one ormore memory devices. The memory devices can be realized in a number offormats including but not limited to a plurality of memory dies. Theprocessing device 1115 can include or be structured as one or moreprocessors.

The memory system 1100 can comprise firmware 1125 having code executableby the processing device 1115 to at least manage the memory devices1112-1, 1112-2, 1112-3, 1112-4, 1112-5, and 1112-6. The firmware 1125can reside in a storage device of the memory system 1110 coupled to theprocessing device 1115. The firmware 1125 can be coupled to theprocessing device 1115 using the bus 1127 or some other interface on thememory system 1110. Alternatively, the firmware 1125 can reside in theprocessing device 1115 or can be distributed in the memory system 1110with firmware components, such as but not limited to code, including oneor more components in the processing device 1115. The firmware 1125 caninclude code having instructions, executable by the processing device1115, to operate on the memory devices 1112-1, 1112-2, 1112-3, 1112-4,1112-5, and 1112-6. The instructions can include instructions to controla memory size of a changelog in the storage device 1114 using bitmaps,lists linked to the bitmaps, and one or more counters of bits assertedin the bitmaps, where the changelog is implemented to correlate virtualpage addresses to physical addresses in one or more of the memorydevices 1112-1, 1112-2, 1112-3, 1112-4, 1112-5, and 1112-6. Theinstructions can include instructions to update the changelog using thebitmaps, the lists, and the one or more counters of bits asserted in thebitmaps. The bitmaps, the lists, and the counters can be realized in amanner as taught with respect to FIGS. 6-10, 12, and 13.

The bitmaps and lists can include a page pointer table bitmap, virtualpage bitmaps, a list of page pointer tables, and virtual page lists. Thepage pointer table bitmap can be arranged to identify storage status ofpage pointer tables in the changelog. The virtual page bitmaps can bearranged such that there is a virtual page bitmap for each page pointertable indexed in the page pointer table bitmap. Each virtual page bitmapcan be arranged to identify storage status of virtual page addresses inthe changelog, using indexes of the virtual page addresses. The list ofpage pointer tables can be structured as a list of page pointer tablesstored in the changelog, where the list is linked to the page pointertable bitmap. The virtual page lists can be arranged as a virtual pagelist for each page pointer table in the list of page pointer tables.Each virtual page list can identify a set of virtual page addressesstored in the changelog, where the virtual page list is linked to arespective virtual page bitmap. The indexes can be indexed with integersin sequential order from an initial integer and the indexes can beassigned to page pointer tables in a sequential order defined by anumber of indexes for each page pointer table. Each page pointer tablecan have the same number of allocated indexes as the other page pointertables of the changelog representation. Other arrangements of indexescan be used to operate the changelog. A value of one in a location ofthe page pointer table bitmap can identify that a page pointer tablecorrelated to the location is stored in the changelog and a value of onein a location of a virtual page bitmap for a page pointer table canidentify that a virtual page correlated to the location of the virtualpage bitmap for a page pointer table is stored in the changelog.

The system 1100 and its components can be structured in a number ofdifferent arrangements. For example, the system 1100 can be arrangedwith a variation of the type of components that comprise the host 1105,the interface 1120, the memory system 1110, the memory devices 1112-1,1112-2, 1112-3, 1112-4, 1112-5, and 1112-6, the processing device 1115,and the bus 1129. The host 1105 can comprise one or more processors,which can vary in type. The interface 1120 can be arranged as, but notlimited to, a peripheral component interconnect express (PCIe)interface. The memory system 1110 can be, but is not limited to, a SSD.The memory devices 1112-1, 1112-2, 1112-3, 1112-4, 1112-5, and 1112-6can be NAND memory devices. The processing device 1115 can include or bestructured as one or more types of processors compatible with the memorydevices 1112-1, 1112-2, 1112-3, 1112-4, 1112-5, and 1112-6. The bus 1127can be an open NAND flash interface (ONFI) bus for the memory devices1112-1, 1112-2, 1112-3, 1112-4, 1112-5, and 1112-6 being NAND flashmemory devices. A storage device 1114 can be implemented to provide dataor parameters used in maintenance of the memory system 1110. The storagedevice 1114 can include a RAM. Though the storage device 1114 isexternal to processing device 1115 in memory system 1110 in FIG. 11, thestorage device 1114 may be integrated into the processing device 1115.The storage device 1114 can be coupled to the bus 1127 for communicationwith other components of the memory system 1110. Alternatively, thestorage device 1114 can be coupled with processing device 1115 in whichthe processing device 1115 handles communications between the storagedevice 1114 and other components of the memory system 1110. The storagedevice 1114 can be coupled to the bus 1127 and to the processing device1115.

In various embodiments, the firmware 1125 can have instructions,executable by the processing device 1115, to operate on multiple memorydevices of the memory devices 1112-1, 1112-2, 1112-3, 1112-4, 1112-5,and 1112-6. The operations can include providing changelog operationsfor the memory system 1110. The changelog operations can include aschema to allocate a scalable memory area in the storage device 1114,where storing a L2P changelog can cover potentially the device LBAs ofthe whole memory system 1110. The allocated area can be structured toprovide a rapid access to changelog context avoiding complex searchingand ordering algorithms. A changelog element can be accessed by knowingits exact position inside the changelog.

The firmware 1125 can operate in conjunction with storage device 1114 touse bitmaps, lists linked to the bitmaps, and one or more counters thatcount bits asserted in the bitmaps in the operation of the changelog formemory system 1110. One of the bitmaps can be structured to indicatestatus of a page pointer table in the changelog and another one of thebitmaps can be structured to indicate status of a virtual page addressfor the page pointer table. The one or more counters can be implementedto navigate one of the lists linked to one of the bitmaps to reach acell to update the changelog with respect to a specified virtual pageaddress used as an entry to the changelog. The firmware 1125 can includeinstructions to update the changelog. These instructions can includeinstructions to: initiate a search in the changelog in the storagedevice using a specified virtual page address as an entry to thechangelog; identify an index of the specified virtual page address;determine, using the index, a page pointer table related to the index;check, in a page pointer table bitmap, status of the determined pagepointer table in the changelog; evaluate a position of the determinedpage pointer table in a list of page pointer tables, in response todetermination of the status of the determined page pointer table asbeing stored in the changelog, where the list is linked to the pagepointer table bitmap; determine a location, corresponding to the index,in a virtual page bitmap for the determined page pointer table; check,at the location in the virtual page bitmap for the determined pagepointer table, status of the specified virtual page in the changelog;evaluate position of the index in a virtual page list, in response todetermination of the status of the specified virtual page address asbeing stored in the changelog, where the virtual page list linked to thevirtual page bitmap; and update information about the specified virtualpage address at the position of the index in the virtual page list. Theupdate of information can include removal of the position of the indexin the virtual page list.

The changelog associated with the memory system 1110 can be structuredwith an allocated amount of memory space in the storage device 1114. Thefirmware 1125 can include instructions, upon determination that theallocated amount of memory space is used by the changelog, to trigger aprocedure to load PPTs from one or more of the memory devices 1112-1,1112-2, 1112-3, 1112-4, 1112-5, and 1112-6 or other memory device to aRAM or other storage device such as storage device 1114, update the pagepointer tables in the RAM, and flush the page pointer tables from theRAM to the one or more memory devices 1112-1, 1112-2, 1112-3, 1112-4,1112-5, and 1112-6 or other memory device.

The instructions of the firmware 1125 can be executed, for example byprocessing device 1115, to perform determination of the page pointertable related to the index that includes integer division of the indexby a number equal to a total number of page pointer tables allocated forthe changelog. Evaluation of the position of the determined page pointertable in the list of page pointer tables can include counting how manybits are asserted in the page pointer table bitmap before a bit for thedetermined page pointer table. The instructions of the firmware 1125 canbe executed, for example by processing device 1115, to performdetermination of the location of the index in the virtual page bitmapfor the determined page pointer table that includes a modulo operationof the index by a number equal to a total number of page pointer tablesallocated for the changelog. Evaluation of the position of the index inthe virtual page list can include counting how many bits are asserted inthe virtual page list for the determined page pointer table before a bitfor the index in the virtual page list.

The system of claim 1100 can include a hardware accelerator 1170 tocount how many bits are asserted in a memory range. The hardwareaccelerator 1170 can be arranged as a component of memory system 1110,or as a stand-alone device, to count bits asserted in bitmaps and listslinked to the bitmaps in storage device 1114 to perform functions of achangelog, as taught herein. The hardware accelerator 1170 can include anumber of counters 1172 and a number of registers 1174 to include datarelated to start of the memory range, direction of the count, andresults of the count. The number of counters 1172 can include a counterfor each bitmap used in the changelog. The number of counters 1172 caninclude a single counter for use with the bitmaps and linked listsassociated with the changelog. The number of counters 1172 can include acounter for the bitmaps and linked lists for PPTs and another counterfor bitmaps and linked lists for VPs. The counters 1172 can be arrangedto count a number of bits in a page pointer table bitmap asserted toidentify page pointer tables as being stored in the changelog. Thecounters 1172 can be arranged to count a number of bits in the virtualpage bitmap for a given page pointer table asserted to identify virtualpage addresses stored in the changelog.

FIG. 12 is a flow diagram of features of an embodiment of an examplemethod 1200 of operating a changelog with the changelog implemented tocorrelate virtual page addresses to physical addresses in a memorydevice. Method 1200 can be implemented using one or more processingdevices executing instructions stored in firmware. At 1210, a memorysize of the changelog in a storage device is controlled using bitmaps,lists linked to the bitmaps, and a counter of bits asserted in thebitmaps. At 1220, the changelog is updated using the bitmaps, the lists,and the counter of bits asserted in the bitmaps. Using the bitmaps caninclude using one of the bitmaps to identify status of a page pointertable in the changelog and using another one of the bitmaps to identifystatus of a virtual page address for the page pointer table. Using thecounter can include navigating one of the lists linked to one of thebitmaps to reach a cell to update the changelog with respect to aspecified virtual page address used as an entry to the changelog.

FIG. 13 is a flow diagram of features of an embodiment of an examplemethod 1300 of updating a changelog in a storage device with thechangelog implemented to correlate virtual page addresses to physicaladdresses in a memory device. The updated changelog can be implementedin accordance with the changelog associated with method 1200. Method1300 can be implemented using one or more processing devices executinginstructions stored in firmware. At 1310, a search is initiated in thechangelog in the storage device using a specified virtual page address,to be updated, as an entry to the changelog. At 1320, an index of thespecified virtual page address is identified. At 1330, using the index,a page pointer table related to the index is determined. Determining thepage pointer table related to the index can include performing integerdivision of the index by a number equal to a total number of pagepointer tables allocated for the changelog.

At 1340, status of the determined page pointer table in the changelogchecked in a page pointer table bitmap. At 1350, in response todetermining the status of the determined page pointer table as beingstored in the changelog, a position of the determined page pointer tablein a list of page pointer tables is evaluated, where the list is linkedto the page pointer table bitmap. Evaluating the position of thedetermined page pointer table in the list of page pointer tables caninclude counting how many bits are asserted in the list of page pointertables before a bit for the determined page pointer table.

At 1360, a location, corresponding to the index, in a virtual pagebitmap for the determined page pointer table is determined. Determiningthe location, corresponding to the index, in the virtual page bitmap forthe determined page pointer table can include performing a modulooperation of the index by a number equal to a total number of pagepointer tables allocated for the changelog. At 1370, status of thespecified virtual page address in the changelog is checked at thelocation in the virtual page bitmap for the determined page pointertable.

At 1380, in response to determining the status of the specified virtualpage address as being stored in the changelog, a position of the indexin a virtual page list is evaluated, where the virtual page list islinked to the virtual page bitmap. Evaluating the position of the indexin the virtual page list can include counting how many bits are assertedin the virtual page list for the determined page pointer table before abit for the index in the virtual page list. At 1390, information aboutthe specified virtual page address corresponding to the position of theindex the virtual page list is updated.

Variations of method 1200, methods similar to method 1200, method 1300,methods similar to method 1300, combinations of method 1200 and method1300 and combinations of methods similar to method 1200 and similar tomethod 1300 can include a number of different embodiments that may becombined depending on the application of such methods and/or thearchitecture of systems in which such methods are implemented.

Firmware for operation of one or more memory devices can compriseinstructions, such as a microcode, which when executed by a processingdevice, can cause performance of operations, the operations includingoperations to operate a changelog with the changelog implemented tocorrelate virtual page addresses to physical addresses in a memorydevice. The processing device can be implemented as a set of one or moreprocessing devices, such as but not limited to a set of one or moreprocessors, a set of one or more memory controllers, or combinationsthereof.

The operations performed by executing instructions of firmware by aprocessing device can include operations to perform the tasks of method1200, methods similar to method 1200, method 1300, methods similar tomethod 1300, combinations of method 1200 and method 1300, combinationsof methods similar to method 1200 and similar to method 1300, and othersimilar operations as taught herein. The operations performed byexecuting instructions of firmware by a processing device can includeoperations to perform functions of systems as taught herein. Variationsof instructions of the above firmware or similar firmware can include anumber of different embodiments that may be combined depending on theapplication of such firmware and/or the architecture of systems in whichsuch firmware is implemented. Such instructions of the firmware, whichwhen executed by one or more processing devices, can cause performanceof operations, which operations can include controlling a memory size ofa changelog in a storage device using bitmaps, lists linked to thebitmaps, and a counter of bits asserted in the bitmaps, the changelogimplemented to correlate virtual page addresses to physical addresses ina memory device; and updating the changelog using the bitmaps, thelists, and the counter of bits asserted in the bitmaps. Operations usingbitmaps can include using one of the bitmaps to identify status of apage pointer table in the changelog and using another one of the bitmapsto identify status of a virtual page address for the page pointer table.Operations using the counter can include navigating one of the listslinked to one of the bitmaps to reach a cell to update the changelogwith respect to a specified virtual page address used as an entry to thechangelog.

Instructions of the firmware, which when executed by one or moreprocessing devices, can cause performance of operations to update thechangelog, which operations can include: initiating a search in thechangelog in the storage device using a specified virtual page addressas an entry to the changelog; identifying an index of the specifiedvirtual page address; determining, using the index, a page pointer tablerelated to the index; checking, in a page pointer table bitmap, statusof the determined page pointer table in the changelog; in response todetermining the status of the determined page pointer table as beingstored in the changelog, evaluating a position of the determined pagepointer table in a list of page pointer tables, the list linked to thepage pointer table bitmap; determining a location, corresponding to theindex, in a virtual page bitmap for the determined page pointer table;checking, at the location in the virtual page bitmap for the determinedpage pointer table, status of the specified virtual page address in thechangelog; in response to determining the status of the specifiedvirtual page address as being stored in the changelog, evaluating aposition of the index in a virtual page list, the virtual page listlinked to the virtual page bitmap; and updating information about thespecified virtual page address corresponding to the position of theindex in the virtual page list.

Variations of instructions of the above firmware or similar firmware caninclude a number of different embodiments that may be combined dependingon the application of such firmware and/or the architecture of systemsin which such firmware is implemented. Operations from execution offirmware instructions can include a number of operations. Operationsthat determine the page pointer table related to the index can includeperforming integer division of the index by a number equal to a totalnumber of page pointer tables allocated for the changelog. Operationsthat determine the location, corresponding to the index, in the virtualpage bitmap for the determined page pointer table can include performinga modulo operation of the index by a number equal to a total number ofpage pointer tables allocated for the changelog. Operations thatevaluate the position of the determined page pointer table in the listof page pointer tables can include counting how many bits are assertedin the list of page pointer tables before a bit for the determined pagepointer table. Operations that evaluate the position of the index in thevirtual page list can include counting how many bits are asserted in thevirtual page list for the determined page pointer table before a bit forthe index in the virtual page list.

In various embodiments, a system can comprise a memory device and astorage device storing a changelog in which identification of a virtualpage address is an entry point to determine a physical address in thememory device, where the changelog implemented to correlate virtual pageaddresses to physical addresses in a memory device. The changelog can beused for a set of memory devices. The changelog can include: a pagepointer table bitmap to identify storage status of page pointer tablesin the changelog; a virtual page bitmap for each page pointer tableindexed in the page pointer table bitmap, each virtual page bitmaparranged to identify storage status of virtual page addresses in thechangelog, using indexes of the virtual page addresses; a list of pagepointer tables stored in the changelog, the list linked to the pagepointer table bitmap; and a virtual page list for each page pointertable in the list of page pointer tables, each virtual page listidentifying virtual page addresses stored in the changelog, the virtualpage list linked to the virtual page bitmap.

Variations of a system and its features, as taught herein, can include anumber of different embodiments and features that may be combineddepending on the application of such systems and/or the architecture inwhich systems are implemented. Features of such systems can include theindexes being indexed with integers in sequential order from an initialinteger, where the indexes are assigned to page pointer tables in asequential order defined by a number of indexes for each page pointertable. Each page pointer table can have the same number of allocatedindexes as the other page pointer tables of the changelogrepresentation. A value of one in a location of the page pointer tablebitmap can identify that a page pointer table correlated to the locationis stored in the changelog and a value of one in a location of a virtualpage bitmap for a page pointer table can identify that a virtual pagecorrelated to the location of the virtual page bitmap for a page pointertable is stored in the changelog.

Variations of a system, as taught herein, can include a counter to counta number of bits in the page pointer table bitmap asserted to identifypage pointer tables as being stored in the changelog. Such a system caninclude a counter to count a number of bits in the virtual page bitmapfor a given page pointer table asserted to identify virtual pageaddresses stored in the changelog. Multiple counter can be realized by asingle counter with a controller or instructions in firmware to regulatethe use of the single counter.

Variations of a system, as taught herein, can include the changeloghaving an allocated amount of memory space in the storage device. Thesystem can be configured, upon determination that the allocated amountof memory space is used by the changelog, to trigger a procedure to loadpage pointer tables from a NAND memory device to a RAM, update the pagepointer tables in the RAM, and flush the page pointer tables from theRAM to the NAND memory device.

In various embodiments, a system can comprise firmware having storedinstructions, executable by one or more processing devices, to performoperations to: control a memory size of a changelog in a storage deviceusing bitmaps, lists linked to the bitmaps, and a counter of bitsasserted in the bitmaps, the changelog implemented to correlate virtualpage addresses to physical addresses in a memory device; and update thechangelog using the bitmaps, the lists, and the counter of bits assertedin the bitmaps. One of the bitmaps can be structured to indicate statusof a page pointer table in the changelog and another one of the bitmapscan be structured to indicate status of a virtual page address for thepage pointer table. The counter can be implemented to navigate one ofthe lists linked to one of the bitmaps to reach a cell to update thechangelog with respect to a specified virtual page address used as anentry to the changelog. The bitmaps, the linked lists, and the counter,which can be realized as one or more counters, can be structured toperform various functions as taught herein. The system can include ahardware accelerator to count how many bits are asserted in a memoryrange. The hardware accelerator can include a number of registers toinclude data related to start of the memory range, direction of thecount, and results of the count.

Variations of a system and its features, as taught herein, can include anumber of different embodiments that may be combined depending on theapplication of such systems and/or the architecture in which systems areimplemented. Such variations of a system can include various operationsfrom execution of instructions in the firmware. The firmware can haveinstructions to update the changelog, including instructions to;initiate a search in the changelog in the storage device using aspecified virtual page address as an entry to the changelog; identify anindex of the specified virtual page address; determine, using the index,a page pointer table related to the index; check, in a page pointertable bitmap, status of the determined page pointer table in thechangelog; in response to determination of the status of the determinedpage pointer table as being stored in the changelog, evaluate a positionof the determined page pointer table in a list of page pointer tables,the list linked to the page pointer table bitmap; determine a location,corresponding to the index, in a virtual page bitmap for the determinedpage pointer table; check, at the location in the virtual page bitmapfor the determined page pointer table, status of the specified virtualpage in the changelog; in response to determination of the status of thespecified virtual page address as being stored in the changelog,evaluate position of the index in a virtual page list, the virtual pagelist linked to the virtual page bitmap; and update information about thespecified virtual page address at the position of the index in thevirtual page list.

Various operations from execution of instructions in the firmware caninclude a number of determinations, evaluations, and updates.Determination of the page pointer table related to the index can includeinteger division of the index by a number equal to a total number ofpage pointer tables allocated for the changelog. Evaluation of theposition of the determined page pointer table in the list of pagepointer tables can include counting how many bits are asserted in thepage pointer table bitmap before a bit for the determined page pointertable. Determination of the location of the index in the virtual pagebitmap for the determined page pointer table can include a modulooperation of the index by a number equal to a total number of pagepointer tables allocated for the changelog. Evaluation of the positionof the index in the virtual page list can include counting how many bitsare asserted in the virtual page list for the determined page pointertable before a bit for the index in the virtual page list. Update ofinformation can include removal of the position of the index in thevirtual page list.

FIG. 14 is a block diagram of an embodiment of an example system 1400having a log 1456 correlating virtual page addresses for one or morememory devices to physical addresses of the one or more memory devices.The system 1400 can also include a set of one or more counters 1472. Thelog 1456 can include first locations 1465 correlated to multiple indexesof respective virtual page addresses, where the first locations 1465 cancontain identifiers of status of the respective virtual page addressesin the log 1456. The log 1456 can include second locations 1461 toidentify status of page pointer tables in the log 1456, each secondlocation 1461 capable of being correlated to a respective set of themultiple indexes. The one or more counters 1472 can be arranged to counta number of the second locations 1461 that contain an identifier that apage pointer table, associated with a respective second location, isstored in the log 1456, and to count a number of indexes in the setcorrelated to the respective second location. Each element of the firstlocations 1465 and each element of the second locations 1461 can havelocations for one or more bits. The log 1461 can be arranged with thefirst locations 1465 and the second locations 1461 arranged as bitmaps.

Variations of the system 1400 and its features, as taught herein, caninclude a number of different embodiments that may be combined dependingon the application of such systems and/or the architecture in whichsystems are implemented. Such variations of the system 1400 can includeeach second location 1461 being capable of being correlated to a maximumnumber of multiple indexes, where the maximum number is the same foreach second location. Such variations of the system 1400 can include apage pointer table related to a specific virtual page address, used as asearch entry to the log 1461, being identified by an integer division ofan index of the specific virtual page address by the maximum number.Such variations of the system 1400 can include an entry in the log 1456being capable of being overwritten. The log 1456 can be contained in arandom access memory separate from the memory device. The one or morecounters 1472 can include a hardware accelerator. The system 1400 can bearranged to have an architecture and function as a changelog as taughtherein.

The following are example embodiments of systems and methods, inaccordance with the teachings herein.

An example system 1 can comprise: a memory device; and a storage devicestoring a changelog in which identification of a virtual page address isan entry point to determine a physical address in the memory device, thechangelog implemented to correlate virtual page addresses to physicaladdresses in a memory device, the changelog including: a page pointertable bitmap to identify storage status of page pointer tables in thechangelog; a virtual page bitmap for each page pointer table indexed inthe page pointer table bitmap, each virtual page bitmap arranged toidentify storage status of virtual page addresses in the changelog,using indexes of the virtual page addresses; a list of page pointertables stored in the changelog, the list linked to the page pointertable bitmap; and a virtual page list for each page pointer table in thelist of page pointer tables, each virtual page list identifying virtualpage addresses stored in the changelog, the virtual page list linked tothe virtual page bitmap.

An example system 2 can include features of example system 1 and caninclude the indexes being indexed with integers in sequential order froman initial integer and the indexes are assigned to page pointer tablesin a sequential order defined by a number of indexes for each pagepointer table.

An example system 3 can include features of any of the preceding examplesystems and can include each page pointer table having the same numberof allocated indexes as the other page pointer tables of the changelogrepresentation.

An example system 4 can include features of any of the preceding examplesystems and can include a value of one in a location of the page pointertable bitmap identifying that a page pointer table correlated to thelocation is stored in the changelog and a value of one in a location ofa virtual page bitmap for a page pointer table identifying that avirtual page correlated to the location of the virtual page bitmap for apage pointer table is stored in the changelog.

An example system 5 can include features of any of the preceding examplesystems and can include a counter to count a number of bits in the pagepointer table bitmap asserted to identify page pointer tables as beingstored in the changelog.

An example system 6 can include features of any of the preceding examplesystems and can include a counter to count a number of bits in thevirtual page bitmap for a given page pointer table asserted to identifyvirtual page addresses stored in the changelog.

An example system 7 can include features of any of the preceding examplesystems and can include the changelog having an allocated amount ofmemory space in the storage device and the system being configured, upondetermination that the allocated amount of memory space is used by thechangelog, to trigger a procedure to load page pointer tables from anot-and type (NAND) memory device to a random access memory (RAM),update the page pointer tables in the RAM, and flush the page pointertables from the RAM to the NAND memory device.

An example system 8 can comprise: firmware having stored instructions,executable by a processing device, to perform operations to: control amemory size of a changelog in a storage device using bitmaps, listslinked to the bitmaps, and a counter of bits asserted in the bitmaps,the changelog implemented to correlate virtual page addresses tophysical addresses in a memory device; and update the changelog usingthe bitmaps, the lists, and the counter of bits asserted in the bitmaps.

An example system 9 can include features of example system 8 and caninclude one of the bitmaps being structured to indicate status of a pagepointer table in the changelog and another one of the bitmaps beingstructured to indicate status of a virtual page address for the pagepointer table.

An example system 10 can include features of any of the precedingexample systems 8 and 9 and can include the counter being implemented tonavigate one of the lists linked to one of the bitmaps to reach a cellto update the changelog with respect to a specified virtual page addressused as an entry to the changelog.

An example system 11 can include features of any of the precedingexample systems 8-10 and can include the firmware having instructions toupdate the changelog, including instructions to: initiate a search inthe changelog in the storage device using a specified virtual pageaddress as an entry to the changelog; identify an index of the specifiedvirtual page address; determine, using the index, a page pointer tablerelated to the index; check, in a page pointer table bitmap, status ofthe determined page pointer table in the changelog; in response todetermination of the status of the determined page pointer table asbeing stored in the changelog, evaluate a position of the determinedpage pointer table in a list of page pointer tables, the list linked tothe page pointer table bitmap; determine a location, corresponding tothe index, in a virtual page bitmap for the determined page pointertable; check, at the location in the virtual page bitmap for thedetermined page pointer table, status of the specified virtual page inthe changelog; in response to determination of the status of thespecified virtual page address as being stored in the changelog,evaluate position of the index in a virtual page list, the virtual pagelist linked to the virtual page bitmap; and update information about thespecified virtual page address at the position of the index in thevirtual page list.

An example system 12 can include features of any of the precedingexample systems 8-11 and can include determination of the page pointertable related to the index to include integer division of the index by anumber equal to a total number of page pointer tables allocated for thechangelog.

An example system 13 can include features of any of the precedingexample systems 8-12 and can include evaluation of the position of thedetermined page pointer table in the list of page pointer tables toinclude counting how many bits are asserted in the page pointer tablebitmap before a bit for the determined page pointer table.

An example system 14 can include features of any of the precedingexample systems 8-13 and can include determination of the location ofthe index in the virtual page bitmap for the determined page pointertable to include a modulo operation of the index by a number equal to atotal number of page pointer tables allocated for the changelog.

An example system 15 can include features of any of the precedingexample systems 8-14 and can include evaluation of the position of theindex in the virtual page list to include counting how many bits areasserted in the virtual page list for the determined page pointer tablebefore a bit for the index in the virtual page list.

An example system 16 can include features of any of the precedingexample systems 8-15 and can include update of information to includeremoval of the position of the index in the virtual page list.

An example system 17 can include features of any of the precedingexample systems 8-16 and can include a hardware accelerator to count howmany bits are asserted in a memory range.

An example system 18 can include features of any of the precedingexample systems 8-17 and can include the hardware accelerator to includea number of registers to include data related to start of the memoryrange, direction of the count, and results of the count.

An example system 19 can comprise: a log correlating virtual pageaddresses for a memory device to physical addresses of the memorydevice, the log including: first locations correlated to multipleindexes of respective virtual page addresses, the first locationscontaining identifiers of status of the respective virtual pageaddresses in the log; second locations to identify status of pagepointer tables in the log, each second location capable of beingcorrelated to a respective set of the multiple indexes; and one or morecounters to count a number of the second locations that contain anidentifier that a page pointer table, associated with a respectivesecond location, is stored in the log, and to count a number of indexesin the set correlated to the respective second location.

An example system 20 can include features of example system 19 and caninclude each second location being capable of being correlated to amaximum number of multiple indexes, the maximum number being the samefor each second location.

An example system 21 can include features of any of the precedingexample systems 19 and 20 and can include a page pointer table relatedto a specific virtual page address, used as a search entry to the log,being identified by an integer division of an index of the specificvirtual page address by the maximum number.

An example system 22 can include features of any of the precedingexample systems 19-21 and can include an entry in the log is capable ofbeing overwritten.

An example system 23 can include features of any of the precedingexample systems 19-22 and can include the log being contained in arandom access memory separate from the memory device.

An example system 24 can include features of any of the precedingexample systems 19-23 and can include the one or more counters include ahardware accelerator.

An example method 1 can comprise: controlling a memory size of achangelog in a storage device using bitmaps, lists linked to thebitmaps, and a counter of bits asserted in the bitmaps, the changelogimplemented to correlate virtual page addresses to physical addresses ina memory device; and updating the changelog using the bitmaps, thelists, and the counter of bits asserted in the bitmaps.

An example method 2 can include features of example method 1 and caninclude using bitmaps includes using one of the bitmaps to identifystatus of a page pointer table in the changelog and using another one ofthe bitmaps to identify status of a virtual page address for the pagepointer table.

An example method 3 can include features of any of the preceding examplemethods and can include using the counter to include navigating one ofthe lists linked to one of the bitmaps to reach a cell to update thechangelog with respect to a specified virtual page address used as anentry to the changelog.

An example method 4 can include features of any of the preceding examplemethods and can include updating the changelog to include: initiating asearch in the changelog in the storage device using a specified virtualpage address as an entry to the changelog; identifying an index of thespecified virtual page address; determining, using the index, a pagepointer table related to the index; checking, in a page pointer tablebitmap, status of the determined page pointer table in the changelog; inresponse to determining the status of the determined page pointer tableas being stored in the changelog, evaluating a position of thedetermined page pointer table in a list of page pointer tables, the listlinked to the page pointer table bitmap; determining a location,corresponding to the index, in a virtual page bitmap for the determinedpage pointer table; checking, at the location in the virtual page bitmapfor the determined page pointer table, status of the specified virtualpage address in the changelog; in response to determining the status ofthe specified virtual page address as being stored in the changelog,evaluating a position of the index in a virtual page list, the virtualpage list linked to the virtual page bitmap; and updating informationabout the specified virtual page address corresponding to the positionof the index in the virtual page list.

An example method 5 can include features of any of the preceding examplemethods and can include determining the page pointer table related tothe index to include performing integer division of the index by anumber equal to a total number of page pointer tables allocated for thechangelog, and determining the location, corresponding to the index, inthe virtual page bitmap for the determined page pointer table to includeperforming a modulo operation of the index by a number equal to a totalnumber of page pointer tables allocated for the changelog.

An example method 6 can include features of any of the preceding examplemethods and can include evaluating the position of the determined pagepointer table in the list of page pointer tables to include counting howmany bits are asserted in the list of page pointer tables before a bitfor the determined page pointer table, and evaluating the position ofthe index in the virtual page list includes counting how many bits areasserted in the virtual page list for the determined page pointer tablebefore a bit for the index in the virtual page list.

An example method 7 can include features of any of the preceding examplemethods and can include performing functions associated with anyfeatures of example systems 1-7, example systems 8-18, and examplesystems 19-24.

In various examples, the components, controllers, processors, units,engines, or tables described herein can include, among other things,physical circuitry or firmware stored on a physical device. As usedherein, “processor” means any type of computational circuit such as, butnot limited to, a microprocessor, a microcontroller, a graphicsprocessor, a digital signal processor (DSP), or any other type ofprocessor or processing circuit, including a group of processors ormulti-core devices.

Operating a memory cell, as used herein, includes reading from, writingto, or erasing the memory cell. The operation of placing a memory cellin an intended state is referred to herein as “programming,” and caninclude both writing to or erasing from the memory cell the memory cellmay be programmed to an erased state).

According to one or more embodiments, a memory controller (e.g., aprocessor, controller, firmware, etc.) located internal or external to amemory device, is capable of determining (e.g., selecting, setting,adjusting, computing, changing, clearing, communicating, adapting,deriving, defining, utilizing, modifying, applying, etc.) a quantity ofwear cycles, or a wear state (e.g., recording wear cycles, countingoperations of the memory device as they occur, tracking the operationsof the memory device it initiates, evaluating the memory devicecharacteristics corresponding to a wear state, etc.).

According to one or more embodiments, a memory access device may beconfigured to provide wear cycle information to the memory device witheach memory operation. The memory device control circuitry (e.g.,control logic) may be programmed to compensate for memory deviceperformance changes corresponding to the wear cycle information. Thememory device may receive the wear cycle information and determine oneor more operating parameters (e.g., a value, characteristic) in responseto the wear cycle information.

Method examples described herein can be machine or computer-implementedat least in part. Some examples can include a computer-readable mediumor machine-readable medium encoded with instructions operable toconfigure an electronic device to perform methods as described in theabove examples. An implementation of such methods can include code, suchas microcode, assembly language code, a higher-level language code, orthe like. Such code can include computer-readable instructions forperforming various methods. The code may form portions of computerprogram products. Further, the code can be tangibly stored on one ormore volatile or non-volatile tangible computer-readable media, such asduring execution or at other times. Examples of these tangiblecomputer-readable media can include, but are not limited to, hard disks,removable magnetic disks, removable optical disks (e.g., compact discsand digital video disks), magnetic cassettes, memory cards or sticks,random access memories (RAMs), read only memories (ROMs), solid statedrives (SSDs), Universal Flash Storage (UFS) device, embedded MMC (eMMC)device, and the like.

In various embodiments, a L2P changelog covering potentially the LBAs ofa complete set of memory devices can be realized as a scalable memoryarea that can be allocated corresponding to usage. The allocated areacan be structured to provide a rapid access to changelog contextavoiding complex searching and ordering algorithms. The changelogelement can be accessed knowing its exact position inside the changelog.The steps used to know the element position inside the changelog can bedeterministic and predictable in such representations of changelogs. Asingle virtual page overwrite can be performed directly on the specificVP without consuming allocation area in such changelog architecturesthat can avoid actions to log the history of the specific VP.

Although specific embodiments have been illustrated and describedherein, it will be appreciated by those of ordinary skill in the artthat any arrangement that is calculated to achieve the same purpose maybe substituted for the specific embodiments shown. Various embodimentsuse permutations and/or combinations of embodiments described herein. Itis to be understood that the above description is intended to beillustrative, and not restrictive, and that the phraseology orterminology employed herein is for the purpose of description.

What is claimed is:
 1. A method comprising: controlling a memory size ofa changelog in a storage device using bitmaps, lists linked to thebitmaps, and a counter of bits asserted in the bitmaps, the changelogimplemented to correlate virtual page addresses to physical addresses ina memory device; and updating the changelog using the bitmaps, thelists, and the counter of bits asserted in the bitmaps, wherein thebitmaps include a page pointer table bitmap arranged to identify storagestatus of page pointer tables in the changelog.
 2. The method of claim1, wherein using the counter includes navigating one of the lists linkedto one of the bitmaps to reach a cell to update the changelog withrespect to a specified virtual page address used as an entry to thechangelog.
 3. A method comprising: controlling a memory size of achangelog in a storage device using bitmaps, lists linked to thebitmaps, and a counter of bits asserted in the bitmaps, the changelogimplemented to correlate virtual page addresses to physical addresses ina memory device; and updating the changelog using the bitmaps, thelists, and the counter of bits asserted in the bitmaps, wherein usingthe bitmaps includes using one of the bitmaps to identify status of apage pointer table in the changelog and using another one of the bitmapsto identify status of a virtual page address for the page pointer table.4. A method comprising: controlling a memory size of a changelog in astorage device using bitmaps, lists linked to the bitmaps, and a counterof bits asserted in the bitmaps, the changelog implemented to correlatevirtual page addresses to physical addresses in a memory device; andupdating the changelog using the bitmaps, the lists, and the counter ofbits asserted in the bitmaps, wherein updating the changelog includes:initiating a search in the changelog in the storage device using aspecified virtual page address as an entry to the changelog; identifyingan index of the specified virtual page address; determining, using theindex, a page pointer table related to the index; checking, in a pagepointer table bitmap, status of the determined page pointer table in thechangelog; in response to determining the status of the determined pagepointer table as being stored in the changelog, evaluating a position ofthe determined page pointer table in a list of page pointer tables, thelist linked to the page pointer table bitmap; determining a location,corresponding to the index, in a virtual page bitmap for the determinedpage pointer table; checking, at the location in the virtual page bitmapfor the determined page pointer table, status of the specified virtualpage address in the changelog; in response to determining the status ofthe specified virtual page address as being stored in the changelog,evaluating a position of the index in a virtual page list, the virtualpage list linked to the virtual page bitmap; and updating informationabout the specified virtual page address corresponding to the positionof the index in the virtual page list.
 5. The method of claim 4, whereindetermining the page pointer table related to the index includesperforming integer division of the index by a number equal to a totalnumber of page pointer tables allocated for the changelog, anddetermining the location, corresponding to the index, in the virtualpage bitmap for the determined page pointer table includes performing amodulo operation of the index by a number equal to a total number ofpage pointer tables allocated for the changelog.
 6. The method of claim4, wherein evaluating the position of the determined page pointer tablein the list of page pointer tables includes counting how many bits areasserted in the list of page pointer tables before a bit for thedetermined page pointer table, and evaluating the position of the indexin the virtual page list includes counting how many bits are asserted inthe virtual page list for the determined page pointer table before a bitfor the index in the virtual page list.
 7. A system comprising: a memorydevice; and a storage device storing a changelog in which identificationof a virtual page address is an entry point to determine a physicaladdress in the memory device, the changelog implemented to correlatevirtual page addresses to physical addresses in a memory device, thechangelog including: a page pointer table bitmap to identify storagestatus of page pointer tables in the changelog; a virtual page bitmapfor each page pointer table indexed in the page pointer table bitmap,each virtual page bitmap arranged to identify storage status of virtualpage addresses in the changelog, using indexes of the virtual pageaddresses; a list of page pointer tables stored in the changelog, thelist linked to the page pointer table bitmap; and a virtual page listfor each page pointer table in the list of page pointer tables, eachvirtual page list identifying virtual page addresses stored in thechangelog, the virtual page list linked to the virtual page bitmap. 8.The system of claim 7, wherein the indexes are indexed with integers insequential order from an initial integer and the indexes are assigned topage pointer tables in a sequential order defined by a number of indexesfor each page pointer table.
 9. The system of claim 8, wherein each pagepointer table has the same number of allocated indexes as the other pagepointer tables of the changelog representation.
 10. The system of claim7, wherein a value of one in a location of the page pointer table bitmapidentifies that a page pointer table correlated to the location isstored in the changelog and a value of one in a location of a virtualpage bitmap for a page pointer table identifies that a virtual pagecorrelated to the location of the virtual page bitmap for a page pointertable is stored in the changelog.
 11. The system of claim 7, wherein thesystem includes a counter to count a number of bits in the page pointertable bitmap asserted to identify page pointer tables as being stored inthe changelog.
 12. The system of claim 7, wherein the system includes acounter to count a number of bits in the virtual page bitmap for a givenpage pointer table asserted to identify virtual page addresses stored inthe changelog.
 13. The system of claim 7, wherein the changelog has anallocated amount of memory space in the storage device and the system isconfigured, upon determination that the allocated amount of memory spaceis used by the changelog, to trigger a procedure to load page pointertables from a not-and type (NAND) memory device to a random accessmemory (RAM), update the page pointer tables in the RAM, and flush thepage pointer tables from the RAM to the NAND memory device.
 14. A systemcomprising: firmware having stored instructions, executable by aprocessing device, to perform operations to: control a memory size of achangelog in a storage device using bitmaps, lists linked to thebitmaps, and a counter of bits asserted in the bitmaps, the changelogimplemented to correlate virtual page addresses to physical addresses ina memory device; and update the changelog using the bitmaps, the lists,and the counter of bits asserted in the bitmaps, wherein the bitmapsinclude a page pointer table bitmap arranged to identify storage statusof page pointer tables in the changelog.
 15. The system of claim 14,wherein the counter is implemented to navigate one of the lists linkedto one of the bitmaps to reach a cell to update the changelog withrespect to a specified virtual page address used as an entry to thechangelog.
 16. A system comprising: firmware having stored instructions,executable by a processing device, to perform operations to: control amemory size of a changelog in a storage device using bitmaps, listslinked to the bitmaps, and a counter of bits asserted in the bitmaps,the changelog implemented to correlate virtual page addresses tophysical addresses in a memory device; and update the changelog usingthe bitmaps, the lists, and the counter of bits asserted in the bitmaps,wherein one of the bitmaps is structured to indicate status of a pagepointer table in the changelog and another one of the bitmaps isstructured to indicate status of a virtual page address for the pagepointer table.
 17. A system comprising: firmware having storedinstructions, executable by a processing device, to perform operationsto: control a memory size of a changelog in a storage device usingbitmaps, lists linked to the bitmaps, and a counter of bits asserted inthe bitmaps, the changelog implemented to correlate virtual pageaddresses to physical addresses in a memory device; and update thechangelog using the bitmaps, the lists, and the counter of bits assertedin the bitmaps, wherein the firmware has instructions to update thechangelog, including instructions to: initiate a search in the changelogin the storage device using a specified virtual page address as an entryto the changelog; identify an index of the specified virtual pageaddress; determine, using the index, a page pointer table related to theindex; check, in a page pointer table bitmap, status of the determinedpage pointer table in the changelog; in response to determination of thestatus of the determined page pointer table as being stored in thechangelog, evaluate a position of the determined page pointer table in alist of page pointer tables, the list linked to the page pointer tablebitmap; determine a location, corresponding to the index, in a virtualpage bitmap for the determined page pointer table; check, at thelocation in the virtual page bitmap for the determined page pointertable, status of the specified virtual page in the changelog; inresponse to determination of the status of the specified virtual pageaddress as being stored in the changelog, evaluate position of the indexin a virtual page list, the virtual page list linked to the virtual pagebitmap; and update information about the specified virtual page addressat the position of the index in the virtual page list.
 18. The system ofclaim 17, wherein determination of the page pointer table related to theindex includes integer division of the index by a number equal to atotal number of page pointer tables allocated for the changelog.
 19. Thesystem of claim 17, wherein evaluation of the position of the determinedpage pointer table in the list of page pointer tables includes countinghow many bits are asserted in the page pointer table bitmap before a bitfor the determined page pointer table.
 20. The system of claim 17,wherein determination of the location of the index in the virtual pagebitmap for the determined page pointer table includes a modulo operationof the index by a number equal to a total number of page pointer tablesallocated for the changelog.
 21. The system of claim 17, whereinevaluation of the position of the index in the virtual page listincludes counting how many bits are asserted in the virtual page listfor the determined page pointer table before a bit for the index in thevirtual page list.
 22. The system of claim 17, wherein update ofinformation includes removal of the position of the index in the virtualpage list.
 23. The system of claim 17, wherein the system includes ahardware accelerator to count how many bits are asserted in a memoryrange.
 24. The system of claim 23, wherein the hardware acceleratorincludes a number of registers to include data related to start of thememory range, direction of the count, and results of the count.
 25. Asystem comprising: a log correlating virtual page addresses for a memorydevice to physical addresses of the memory device, the log including:first locations correlated to multiple indexes of respective virtualpage addresses, the first locations containing identifiers of status ofthe respective virtual page addresses in the log; and second locationsto identify status of page pointer tables in the log, each secondlocation capable of being correlated to a respective set of the multipleindexes; and one or more counters to count a number of the secondlocations that contain an identifier that a page pointer table,associated with a respective second location, is stored in the log, andto count a number of indexes in the set correlated to the respectivesecond location.
 26. The system of claim 25, wherein each secondlocation is capable of being correlated to a maximum number of multipleindexes, the maximum number being the same for each second location. 27.The system of claim 26, wherein a page pointer table, related to aspecific virtual page address used as a search entry to the log, isidentified by use of an integer division of an index of the specificvirtual page address by the maximum number.
 28. The system of claim 25,wherein an entry in the log is capable of being overwritten.
 29. Thesystem of claim 25, wherein the log is contained in a random accessmemory separate from the memory device.
 30. The system of claim 25,wherein the one or more counters include a hardware accelerator.